[issue2366] Fixer for new metaclass syntax is needed

Jack Diederich report at bugs.python.org
Fri Aug 22 04:38:06 CEST 2008


Jack Diederich <jackdied at gmail.com> added the comment:

Benjamin, the 2to3 parse tree straddles the 2.x Grammar and 3.x Grammar
(it's its own thing) which is why fixup_parse_tree is there.  From the
docstring:
  one-line classes don't get a suite in the parse tree so we add one to
normalize the tree
The 2to3 parser is very line oriented - only the try/except logic uses
blocks (I think).

There haven't been any objection so I've assigned this to myself and
I'll check it in and close it soonish.

----------
assignee: collinwinter -> jackdied

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2366>
_______________________________________


More information about the Python-bugs-list mailing list