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/2002-March/021971.html below:

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

[Python-Dev] RE: PEP 285: Adding a bool type [Python-Dev] RE: PEP 285: Adding a bool typeGuido van Rossum guido@python.org
Sat, 30 Mar 2002 09:25:24 -0500
> What is the likelihood that __nonzero__ could be renamed (at some
> point in the future) to something a bit more intuitive, like
> __bool__? I know there would be a lot of user code to change, but
> assuming one day the hammer will drop and everyone's __nonzero__
> will have to change to return a bool, I wouldn't mind seeing the
> method renamed as well.  Or is this a lost cause at this point?

I think it's a lost cause.  It's one of those minor details that might
be considered wrong with 20/20 hindsight, but not wrong enough to want
to bother fixing it, given the cost (to the user community) of the
fix.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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