This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Demo/parser/unparse.py fixes and cleanups
Type: Stage:
Components: Demos and Tools Versions: Python 2.5
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, pjdelport
Priority: normal Keywords: patch

Created on 2007-03-19 01:14 by pjdelport, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
unparse.py.patch pjdelport, 2007-03-19 01:14 5-part patch against rev 52488 of Demo/parser/unparse.py
Messages (2)
msg52263 - (view) Author: Piet Delport (pjdelport) Date: 2007-03-19 01:14
Bug fixes:

* incorrect parenthesization of yield and conditional expressions
* ExtSlice separator should be ",", not ":" (as far as i can tell)

Changes:

* handle alias nodes in a common method
* incorporate an "interleave" helper to simplify the code and improve the output of delimited sequences
* minor cleanups
msg52264 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-19 19:03
Thanks for the patch, committed as rev. 54441.
History
Date User Action Args
2022-04-11 14:56:23adminsetgithub: 44741
2007-03-19 01:14:27pjdelportcreate