[Python-Dev] Code Generation Idea Was: Bytecode idea
Guido van Rossum
guido@python.org
Wed, 26 Feb 2003 10:01:45 -0500
> None is moving slowly toward becoming a true constant. Perhaps the same
> should be true of True and False.
Problem with this is that there's currently lots of code out there
that was recently modified to read
try:
True
except NameError:
True = 1
False = 0
That would become a syntax error if True/False were true constants. :-(
--Guido van Rossum (home page: http://www.python.org/~guido/)