[Python-3000] bool in 2.6? (original) (raw)

Guido van Rossum guido at python.org
Mon Oct 29 19:51:23 CET 2007


2007/10/29, Fred Drake <fdrake at acm.org>:

On Oct 29, 2007, at 2:40 PM, James Thiele wrote: > So just to clarify: > 2.6 nonzero first, then bool (if patch submitted) > 3.x bool first, then nonzero

I'd expect switching the order for this to be a bug magnet. I'd much rather see: 2.5 nonzero only 2.6 bool first, then nonzero (if patch submitted) 3.x bool first, then nonzero The fewer variations there are in the algorithm, the better.

Makes sense, if you change the 3.x rule to

3.x bool only.

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-3000 mailing list