[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread Georg Brandl
Georg Brandl added the comment: Yes, Sphinx is still 2.x, although we could switch to a Python 3 version since now all necessary dependencies are ported. -- nosy: +georg.brandl ___ Python tracker

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indeed, somehow I have in the source tree were many Python2 files. After `rm -r *` and `hg revert -a ` number of invalid files decreased to a reasonable limit. Sorry for the false alarm. -- ___ Python tracker

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Here's a run of your script against Python3.3 I see nothing on this list that is a problem (after the recent fixes in Tools/scripts). The Doc stuff can be ignored, that's a Python2 based toolchain checked out by the Doc 'make' file. As I said, lib2to3 te

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread Ned Deily
Ned Deily added the comment: There was some related work on this in the earlier Demo clean up issue (Issue7962) and the still open "make altnstall" shebang line cleanup (Issue10318). But I'm confused. From the list of files you show in invalid.txt appear to be from a Python 2 source directo

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Some of these at least are intentional. There are test files (especially in 2to3!) that use python2 syntax, and test files that have specially crated syntax errors in them. Sphinx at one point was using Python2, I'm not sure if it has been upgraded to 3 ye

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file25125/invalid.txt ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issues 14490, 14491, and 14492. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : I was very surprised to find in Python source code files that are not compatible with Python3. It turns out that this is not an exception, such files very much (see scanner script in attachment). Surely for many years no one had reached his hands run 2to3