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/2004-February/042548.html below:

[Python-Dev] bool does not want to be subclassed?

[Python-Dev] bool does not want to be subclassed? [Python-Dev] bool does not want to be subclassed?Delaney, Timothy C (Timothy) tdelaney at avaya.com
Thu Feb 12 18:02:23 EST 2004
> From: Bob Ippolito
> 
> Probably because bool is supposed to only have two values, True or 
> False..

As referred to in Tim's reposting of Guido's mind, the important distinction is that bool is only ever supposed to have two *instances* (True and False). The difference between instance and value in this case is important - int can only have values of type integer, but it can have many instances with the same value.

Tim Delaney

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