[issue4590] 2to3 strips trailing L for long iterals in two fixers

2013-01-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset d5ee6d13af18 by Benjamin Peterson in branch '3.3': fix long fixer docs (#4590) http://hg.python.org/cpython/rev/d5ee6d13af18 New changeset 8b9910d8d27f by Benjamin Peterson in branch 'default': merge 3.3 (#4590) http://hg.python.org/cpython/rev/8b99

[issue4590] 2to3 strips trailing L for long iterals in two fixers

2013-01-28 Thread Fábio M . Costa
Fábio M. Costa added the comment: I believe that since this change the 2to3 documentation is outdated. http://docs.python.org/2/library/2to3.html#2to3fixer-long http://docs.python.org/2/library/2to3.html#2to3fixer-numliterals http://docs.python.org/3/library/2to3.html#2to3fixer-long http://docs.

[issue4590] 2to3 strips trailing L for long iterals in two fixers

2008-12-08 Thread Armin Ronacher
Changes by Armin Ronacher <[EMAIL PROTECTED]>: -- stage: patch review -> committed/rejected ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4590] 2to3 strips trailing L for long iterals in two fixers

2008-12-08 Thread Armin Ronacher
Armin Ronacher <[EMAIL PROTECTED]> added the comment: Patch applied in [67679]. The tests were nearly the same, even with the same numbers :) -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue4590] 2to3 strips trailing L for long iterals in two fixers

2008-12-08 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I think this is the correct thing to do. Go ahead. (Did you see if any of the long tests would be applicable in testing numliterals?) -- assignee: benjamin.peterson -> aronacher ___ Python track

[issue4590] 2to3 strips trailing L for long iterals in two fixers

2008-12-08 Thread Armin Ronacher
New submission from Armin Ronacher <[EMAIL PROTECTED]>: I noticed that fix_long and fix_numliterals both strip trailing Ls from numbers. That's redudant, one of them should be enough. I attached a patch that removes the literal changing from the fix_long fixer. Because I'm not sure if that may