[issue2899] Fixers find, rfind, etc in 'string' module

2010-08-21 Thread Georg Brandl
Georg Brandl added the comment: I guess this will not happen then. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker ___ _

[issue2899] Fixers find, rfind, etc in 'string' module

2009-02-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: I disagree. That is the role of -3 warnings. Static analysis is too limited to get into issuing warnings with. -- assignee: collinwinter -> nosy: +benjamin.peterson ___ Python tracker

[issue2899] Fixers find, rfind, etc in 'string' module

2009-02-13 Thread Stephen J. Turnbull
Stephen J. Turnbull added the comment: Maybe 2to3 could get a --pedantic or even an --annoying option? I agree that it should be noisy about removed features even if actually fixing this kind of thing would be hard to do reliably. -- nosy: +sjt __

[issue2899] Fixers find, rfind, etc in 'string' module

2008-12-08 Thread David W. Lambert
David W. Lambert <[EMAIL PROTECTED]> added the comment: I think the point is to get a message from 2to3 about possible use of feature that is gone. Of course python3 raises an exception when trying to execute the code, but it does leave the user wondering "why did 2to3 report that there are no c

[issue2899] Fixers find, rfind, etc in 'string' module

2008-12-08 Thread Armin Ronacher
Armin Ronacher <[EMAIL PROTECTED]> added the comment: 2to3 could handle it, but it would be a lot of work for something unnecessary. You can use "s.replace(a, b)" instead of string.replace(s, a, b) since at least 2.0. ___ Python tracker <[EMAIL PROTECTED]>

[issue2899] Fixers find, rfind, etc in 'string' module

2008-12-08 Thread David W. Lambert
David W. Lambert <[EMAIL PROTECTED]> added the comment: I expect the answer will be that 2to3 cannot know what sort of object "string" names. Bell's theorem, or some such, as I understand it, tells us that you must execute the algorithm to find out what it does, there isn't a short cut. It does

[issue2899] Fixers find, rfind, etc in 'string' module

2008-12-08 Thread Armin Ronacher
Changes by Armin Ronacher <[EMAIL PROTECTED]>: -- nosy: +aronacher ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list maili

[issue2899] Fixers find, rfind, etc in 'string' module

2008-05-17 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- title: Fixes find, rfind, etc in 'string' module -> Fixers find, rfind, etc in 'string' module __ Tracker <[EMAIL PROTECTED]> __ _