Issue 11056: 2to3 fails for inner __metaclass__ class definition - Python tracker

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
process
Status: closed Resolution: wont fix
Dependencies: Superseder: Close 2to3 issues and list them here
View: 45544
Assigned To: benjamin.peterson Nosy List: benjamin.peterson, nw
Priority: normal Keywords: patch

Created on 2011-01-29 10:07 by nw, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test.py nw, 2011-01-29 10:07 example
fix.patch nw, 2011-01-29 18:37 possible fix
Messages (2)
msg127394 - (view) Author: nw (nw) Date: 2011-01-29 10:07
The attached code is not converted properly. No warning either.

Eventually it may be a good idea to reintroduce the old more versatile method.
msg220757 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-16 20:39
@Benjamin what do you think of the proposed fix?