[issue2366] Fixer for new metaclass syntax is needed
Jack Diederich
report at bugs.python.org
Thu Jul 31 22:46:57 CEST 2008
Jack Diederich <jackdied at gmail.com> added the comment:
The new patch works and handles all the corner cases I could think of.
I tried to comment the heck out of it because it does a lot of manual
walking and manipulation of the syntax tree.
This only handles __metaclass__ inside classes. I wasn't sure what to
do with __metaclass__ at the module level (which is now a NOP, I think).
Added file: http://bugs.python.org/file11020/fix_metaclass.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2366>
_______________________________________
More information about the Python-bugs-list
mailing list