Skip to content

bpo-38870: Do not seperate factor prefixes#20133

Merged
pablogsal merged 1 commit intopython:masterfrom
isidentical:bpo-38870-factors
May 16, 2020
Merged

bpo-38870: Do not seperate factor prefixes#20133
pablogsal merged 1 commit intopython:masterfrom
isidentical:bpo-38870-factors

Conversation

@isidentical
Copy link
Copy Markdown
Member

@isidentical isidentical commented May 16, 2020

>>> ast.unparse(ast.parse("+value"))
'+ value'
>>> ast.unparse(ast.parse("+value / -EPSILON"))
'+ value / - EPSILON'

with this PR

>>> ast.unparse(ast.parse("+value"))
'+value'
>>> ast.unparse(ast.parse("+value / -EPSILON"))
'+value / -EPSILON'
>>> ast.unparse(ast.parse("option = not congig.option"))
'option = not congig.option'

https://bugs.python.org/issue38870

@pablogsal pablogsal merged commit ce4a753 into python:master May 16, 2020
arturoescaip pushed a commit to arturoescaip/cpython that referenced this pull request May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants