Anthony Baxter anthony at
Wed Apr 23 17:08:05 CEST 2003

>>> Skip Montanaro wrote
>     Ian> Is there any reason why reassigning True and False will be a
>     Ian> problem in the future?
> The builtins may get "tightened up" in the future.  This particular idiom
> probably won't be affected, but you may not be able to (easily) shadow a
> builtin in another module's global namespace, e.g.:

Wasn't there also some talk of making None, True and False keywords (for
possible performance gains)? That would probably cause the reassignment
of them to fail.


More information about the Python-list mailing list