None, False, True

Raymond Hettinger vze4rx4y at verizon.net
Tue Sep 16 15:38:57 EDT 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.

Right!


Raymond






More information about the Python-list mailing list