PEP 285: Adding a bool type: yes, but not as int subtype

Tim Peters tim.one at comcast.net
Tue Apr 2 00:48:58 EST 2002


[logistix]
> So this PEP will break the ternary hack (a and b or c) and other crazy
> exploitation of short-circuiting tricks in lambdas?

Nope!  All of that will continue to work fine.  You could try reading the
PEP if you want an explanation <wink>.

> Not that I mind. ;)

Someone would.  Someone always does.  Some people even fight to keep gross
bugs intact, although not yet to preserve segfaults.

picky-picky-ly y'rs  - tim





More information about the Python-list mailing list