New submission from Jason R. Coombs <jar...@jaraco.com>: 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. ---------- components: 2to3 (2.x to 3.0 conversion tool) messages: 130838 nosy: jaraco priority: normal severity: normal status: open title: reassignment to bool is left in the file type: behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11499> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com