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 aronacher
Recipients aronacher, benjamin.peterson, georg.brandl, mark.dickinson
Date 2009-01-13.11:45:17
SpamBayes Score 0.032348707
Marked as misclassified No
Message-id <1231847118.51.0.605950819995.issue4907@psf.upfronthosting.co.za>
In-reply-to
Content
Indeed, it accepts parentheses in 2.6 now, but not in 2.5 or earlier.

Why not the other way round?  Somewhere there has to be a limit.  And if
you write down complex numbers you usually have the imaginary part after
the real part.

But let's try no to make this a bikeshed discussion.  If you say that
literal_eval can safely evaluate the repr() of builtins (with the
notable exception of reprs that eval can't evaluate either [like nan,
inf etc.]) and probably a bit more it should be fine :)
History
Date User Action Args
2009-01-13 11:45:18aronachersetrecipients: + aronacher, georg.brandl, mark.dickinson, benjamin.peterson
2009-01-13 11:45:18aronachersetmessageid: <1231847118.51.0.605950819995.issue4907@psf.upfronthosting.co.za>
2009-01-13 11:45:17aronacherlinkissue4907 messages
2009-01-13 11:45:17aronachercreate