A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-February/071360.html below:

[Python-Dev] bool conversion wart?

[Python-Dev] bool conversion wart? [Python-Dev] bool conversion wart?Guido van Rossum guido at python.org
Sat Feb 24 14:56:42 CET 2007
Can anyone who is in favor of changing this please come up with a spec
for the new bool() signature? What would you do for the most common
use case of bool(), which is converting an arbitrary value to its
Boolean equivalent without using an if test or the "not not x" hack?

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

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