berkerpeksag / astor

Python AST read/write
https://pypi.org/project/astor/
BSD 3-Clause "New" or "Revised" License
810 stars 102 forks source link

precedence for `await` and `async for` #44

Closed zackmdavis closed 9 years ago

zackmdavis commented 9 years ago

This pull request proposes the addition of two entries to the operator precedence table, and use of the delimit context manager in visit_Await, to avert errors observed with Python 3.5 (a failing unit test, and a file in the Python source tree failing to roundtrip with astor.rtrip).

berkerpeksag commented 9 years ago

Thanks!