This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jaraco
Recipients jaraco
Date 2011-03-14.16:00:34
SpamBayes Score 0.0001372993
Marked as misclassified No
Message-id <1300118435.38.0.980268462188.issue11499@psf.upfronthosting.co.za>
In-reply-to
Content
Consider the Python file

    #!python
    True = 1
    False = 0

The 2to3 script returns an empty diff for this file.

These lines (especially when the values are canonical), are clearly for backward compatibility to early Python 2.x editions (2.2.1 and earlier).

These statements cause an error in Python 3. It would be nice if 2to3 could either remove these lines or log a warning.
History
Date User Action Args
2011-03-14 16:00:35jaracosetrecipients: + jaraco
2011-03-14 16:00:35jaracosetmessageid: <1300118435.38.0.980268462188.issue11499@psf.upfronthosting.co.za>
2011-03-14 16:00:34jaracolinkissue11499 messages
2011-03-14 16:00:34jaracocreate