[New-bugs-announce] [issue4590] 2to3 strips trailing L for long iterals in two fixers

Armin Ronacher report at bugs.python.org
Mon Dec 8 12:09:17 CET 2008


New submission from Armin Ronacher <armin.ronacher at active-4.com>:

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 be the correct fixer to modify
I didn't commit it but created an issue for review.

----------
assignee: benjamin.peterson
components: 2to3 (2.x to 3.0 conversion tool)
files: remove_redundant.diff
keywords: needs review, patch
messages: 77296
nosy: aronacher, benjamin.peterson
priority: normal
severity: normal
stage: patch review
status: open
title: 2to3 strips trailing L for long iterals in two fixers
type: behavior
versions: 3rd party
Added file: http://bugs.python.org/file12277/remove_redundant.diff

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


More information about the New-bugs-announce mailing list