[Python-Dev] PEP 285: Adding a bool type

Andrew Koenig ark@research.att.com
05 Apr 2002 09:08:18 -0500

Stuart> On Friday, April 5, 2002, at 01:06  AM, Guido van Rossum wrote:

>> On Thursday, April 4, 2002, at 02:22  PM, Stuart Bishop wrote:
>>>> On a side note, writing 'i or False and True' performs much better

Stuart> I mean (i and True) or (i or False)

This example might evaluate i twice, which means it's not really a
fair comparison.

Andrew Koenig, ark@research.att.com, http://www.research.att.com/info/ark