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

[Python-Dev] bool conversion wart?

[Python-Dev] bool conversion wart? [Python-Dev] bool conversion wart?Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 25 23:00:13 CET 2007
Guido van Rossum wrote:

> How would this change be helpful? I'm utterly mystified by these
> suggestions that bool would be more useful if it didn't behave like an
> int in arithmetic.

I think there's a desire by some people to get rid of
unnecessary conceptual baggage left over for historical
reasons. Those people are mystified as to why anyone
would *want* a boolean to behave like an int.

Personally I'm +0 on this. I wouldn't object if it
happened, but I'm not pushing for it.

--
Greg
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