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/071362.html below:

[Python-Dev] bool conversion wart?

[Python-Dev] bool conversion wart? [Python-Dev] bool conversion wart?skip at pobox.com skip at pobox.com
Sat Feb 24 23:02:04 CET 2007
    Neal> Except, all the numeric types do, including int, float, and
    Neal> complex.  But not bool.  

The fact that bool is a subclass of int is more historic than necessary.  If
not for Python's long usage of 0 and 1 to be the canonical False and True, I
suspect that bool might have been implemented as a new standalone type.

Skip
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