True/False

Skip Montanaro skip at pobox.com
Tue Apr 22 15:22:38 EDT 2003


    Ian> This was the sort of issue I was thinking about.  But another
    Ian> change is:

    Ian> Python 2.3a2+ (#2, Mar 21 2003, 22:13:05) 
    Ian> [GCC 3.2.3 20030316 (Debian prerelease)] on linux2
    Ian> Type "help", "copyright", "credits" or "license" for more information.
    >>>> None = 10
    Ian> <stdin>:1: SyntaxWarning: assignment to None

    Ian> Will this happen to True/False?  Probably not, because that would
    Ian> *really* mess up backwards compatibility (since try:except:
    Ian> wouldn't even work).

It might.  There was a thread on python-dev or c.l.py about this particular
item within the last couple months.  I don't recall if any conclusions were
reached.  A google search should turn it up.

Skip





More information about the Python-list mailing list