Message79736
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 :) |
|
Date |
User |
Action |
Args |
2009-01-13 11:45:18 | aronacher | set | recipients:
+ aronacher, georg.brandl, mark.dickinson, benjamin.peterson |
2009-01-13 11:45:18 | aronacher | set | messageid: <1231847118.51.0.605950819995.issue4907@psf.upfronthosting.co.za> |
2009-01-13 11:45:17 | aronacher | link | issue4907 messages |
2009-01-13 11:45:17 | aronacher | create | |
|