[issue14497] Invalid syntax Python files in Python sources tree

R. David Murray report at bugs.python.org
Wed Apr 4 22:48:13 CEST 2012


R. David Murray <rdmurray at bitdance.com> 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 yet or not.

I'm sure there are also files that just haven't been checked and updated, such as the ones in Tools/scripts(*).  So an audit is definitely in order.

(*) I thought someone *had* done an audit of those, but the evidence says otherwise.

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list