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. -Fred -- Fred Drake <fdrake at acm.org> _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
