[issue13253] 2to3 fix_renames renames sys.maxint only in imports

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker

[issue13253] 2to3 fix_renames renames sys.maxint only in imports

2015-12-31 Thread Ezio Melotti
Ezio Melotti added the comment: Nikita, did you manage to find a solution? If not, do you have a patch (even if not complete) to share? -- versions: -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker

[issue13253] 2to3 fix_renames renames sys.maxint only in imports

2015-09-23 Thread Nikita Klimov
Nikita Klimov added the comment: I'm close to solution, but I need another 1 week. -- ___ Python tracker ___

[issue13253] 2to3 fix_renames renames sys.maxint only in imports

2015-09-15 Thread Nikita Klimov
Nikita Klimov added the comment: I'm interesting to research this. I can show results by 23 September, I think. -- nosy: +klimov versions: +Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue13253] 2to3 fix_renames renames sys.maxint only in imports

2011-10-27 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13253 ___ ___ Python-bugs-list

[issue13253] 2to3 fix_renames renames sys.maxint only in imports

2011-10-27 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Do people really import maxint from sys? I’d find that less readable than using sys.maxint —which should, if you ask me, also be replaced :) -- nosy: +eric.araujo ___ Python tracker

[issue13253] 2to3 fix_renames renames sys.maxint only in imports

2011-10-27 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I do (or at least did it in at least one place :). I think the problem is actually more general, and I don't know if it's by design. If a name in the import is changed, all the other occurrences of the name should be changed as well. I

[issue13253] 2to3 fix_renames renames sys.maxint only in imports

2011-10-24 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: $ cat deleteme.py from sys import maxint print 'maxint', maxint $ 2to3 deleteme.py RefactoringTool: Skipping implicit fixer: buffer RefactoringTool: Skipping implicit fixer: idioms RefactoringTool: Skipping implicit fixer: set_literal