[Python-Dev] Re: PEP 285: Adding a bool type (original) (raw)

Fredrik Lundh fredrik@pythonware.com
Wed, 3 Apr 2002 16:22:25 +0200


mal wrote:

How about adding a new pure bool type to the language without changing any of the old PyFalse/PyTrue code (at first) ?! =20 Then leave the code in for one release to see how people feel about it in real life and enable a warning for incorrect usage of comparison arithmetic in a second=20 release. The third release would then enable the new logic per default.

from future import boolean ?

(maybe it's time to introduce a yagni module for people who prefer Harlin over van der Rohe? ;-)