Stelios Xanthakis <[EMAIL PROTECTED]> writes: > Michael Hoffman wrote: >> Stelios Xanthakis wrote: >> >>> Magnus Lycka wrote: >> > >> >>>> Right. Silly me. Maybe in some future Python version, True and False >>>> will be constants, like None is since Python 2.4. >>> >>> >>> Actually, there is support in marshal to write True and False objects so >>> I don't understand why this isn't in 2.4 >> Because it would break existing code. > > Yes. Code that has variables named 'True' and 'False'.
Making None a constant broke existing code (and I just saw old code that assigned to None). Are True and False that much more common as variable names than None? <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list