[Python-Dev] Backwards compatiblity

Alex Martelli aleax@aleax.it
Wed, 21 Aug 2002 17:36:18 +0200


On Wednesday 21 August 2002 05:31 pm, Raymond Hettinger wrote:
> For 2.2.2, if we add False,True=0,1 to __builtins__, then code written for
> 2.3 will more likely run without modification.  For instance, that is all
> the sets module need to run under 2.2.

False and True with those values (as well as function bool) are already
in 2.2.1's __builtins__.


Alex