"Martin v. Löwis"
martin at v.loewis.de
Thu Jan 16 19:13:11 CET 2003
Christian Tismer wrote:
> Maybe a compromize would be to capture
> assignments to True and False in a way
> that they issue a warning if the assigned
> value is not coercable to 1 resp. 0?
Those checks are compile-time warnings, so it is difficult to implement
them at interpretation time. Also, there are cases were True/False are
used as parameter names.
More information about the Python-list