None, False, True

Raymond Hettinger vze4rx4y at
Tue Sep 16 21:38:57 CEST 2003

[John J Lee]
> Dunno why None and not True / False causes a warning

Because there is a lot of existing code that legitimately made
assignments to True and False.

> but you can turn
> warnings into errors using the warnings framework, I think.



More information about the Python-list mailing list