A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/022219.html below:

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

[Python-Dev] PEP 285: Adding a bool type [Python-Dev] PEP 285: Adding a bool typeTim Peters tim.one@comcast.net
Wed, 03 Apr 2002 15:27:13 -0500
[pobrien@orbtech.com]
> How about operator.truth()? Has Tim changed his mind at all? Has Guido?

Guido change his mind?  That's about as likely as Tim changing his <wink>.
Guido Pronounced on this and that's good enough for me.  I'd still prefer
operator.truth() return 0/1, but this always was (as the PEP said from the
start) a "minor additional issue".  People can learn to use int(bool(x))
when they need 0/1, and operator.truth() becomes dead weight.





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4