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.

Author benjamin.peterson
Recipients benjamin.peterson, brett.cannon, collinwinter, jackdied, rhettinger
Date 2008-08-22.02:45:36
SpamBayes Score 0.00031963098
Marked as misclassified No
Message-id <1afaf6160808211945q686377f9g9836aa905db70ae@mail.gmail.com>
In-reply-to <1219372686.94.0.49216968415.issue2366@psf.upfronthosting.co.za>
Content
On Thu, Aug 21, 2008 at 9:38 PM, Jack Diederich <report@bugs.python.org> wrote:
>
> Jack Diederich <jackdied@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).

Yes. Sorry that was a brain seg fault. :)

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

Add an example example.py while you're at it.
>
> ----------
> assignee: collinwinter -> jackdied
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue2366>
> _______________________________________
>
History
Date User Action Args
2008-08-22 02:45:37benjamin.petersonsetrecipients: + benjamin.peterson, brett.cannon, collinwinter, rhettinger, jackdied
2008-08-22 02:45:36benjamin.petersonlinkissue2366 messages
2008-08-22 02:45:36benjamin.petersoncreate