[issue6506] lib2to3 fails to convert 'thread' when not followed by a period

2009-07-17 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue6506] lib2to3 fails to convert 'thread' when not followed by a period

2009-07-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2009/7/17 Eric Promislow : > > Eric Promislow added the comment: > > Understood.  Could the tool emit a warning when it encounters > something like this? Perhaps, but I think you could find this out just as well by running a tool like Pylint over your code.

[issue6506] lib2to3 fails to convert 'thread' when not followed by a period

2009-07-17 Thread Eric Promislow
Eric Promislow added the comment: Understood. Could the tool emit a warning when it encounters something like this? -- ___ Python tracker ___ ___

[issue6506] lib2to3 fails to convert 'thread' when not followed by a period

2009-07-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is purposeful. Otherwise random variables, functions, or classes, with the same name as a module which people were using could be changed. -- ___ Python tracker ___

[issue6506] lib2to3 fails to convert 'thread' when not followed by a period

2009-07-17 Thread R. David Murray
Changes by R. David Murray : -- nosy: +benjamin.peterson priority: -> normal stage: -> test needed ___ Python tracker ___ ___ Python-

[issue6506] lib2to3 fails to convert 'thread' when not followed by a period

2009-07-17 Thread Eric Promislow
New submission from Eric Promislow : Given this code: import thread print thread $ python ActivePython 2.6.1.1 (ActiveState Software Inc.) based on Python 2.6.1 (r261:67515, Dec 5 2008, 13:58:38) [MSC v.1500 32 bit (Intel)] on win32 >>> from lib2to3.main import main >>> print open("flip2.py").