[Python-Dev] PEP 285: Adding a bool type (original) (raw)
Andrew Koenig ark@research.att.com
05 Apr 2002 09:08:18 -0500
- Previous message: [Python-Dev] PEP 285: Adding a bool type
- Next message: [Python-Dev] PEP 285: Adding a bool type
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] PEP 285: Adding a bool type
- Next message: [Python-Dev] PEP 285: Adding a bool type
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]