Issue 2367: Fixer to handle new places where parentheses are needed (original) (raw)
Issue2367
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.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/46620
classification
Title: | Fixer to handle new places where parentheses are needed | ||
---|---|---|---|
Type: | behavior | Stage: | |
Components: | 2to3 (2.x to 3.x conversion tool) | Versions: | Python 2.6 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | collinwinter | Nosy List: | benjamin.peterson, brett.cannon, collinwinter, taicki |
Priority: | critical | Keywords: | 26backport, patch |
Created on 2008-03-17 19:55 by brett.cannon, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
i2367.patch | taicki,2008-03-18 22:58 |
Messages (4) | ||
---|---|---|
msg63744 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2008-03-17 19:55 |
Py3K has some places where parentheses are now required (e.g., ``[x for x in 1, 2]`` to ``[x for x in (1, 2)``). A fixer is needed to handle the conversion. | ||
msg64010 - (view) | Author: Taek Joo Kim (taicki) * | Date: 2008-03-18 22:58 |
This patch handles the conversion. | ||
msg70461 - (view) | Author: Benjamin Peterson (benjamin.peterson) * ![]() |
Date: 2008-07-31 01:57 |
How is this coming? | ||
msg71775 - (view) | Author: Benjamin Peterson (benjamin.peterson) * ![]() |
Date: 2008-08-22 20:41 |
Thanks for the work! I reviewed the code, added support for generator expressions, and wrote a few more tests. Committed in r65981. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:32 | admin | set | github: 46620 |
2008-08-22 20:41:47 | benjamin.peterson | set | status: open -> closedresolution: fixedmessages: + |
2008-07-31 01:57:56 | benjamin.peterson | set | nosy: + benjamin.petersonmessages: + |
2008-03-18 22:58:39 | taicki | set | files: + i2367.patchkeywords: + patchmessages: + nosy: + taicki |
2008-03-17 20🔞30 | brett.cannon | set | priority: release blocker -> critical |
2008-03-17 19:55:54 | brett.cannon | create |