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/021965.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 typeAahz aahz@pythoncraft.com
Sat, 30 Mar 2002 08:50:50 -0500
On Sat, Mar 30, 2002, Guido van Rossum wrote:
>
>> Interestingly enough, the exception message says "__nonzero__ should
>> return an int" but really means "__nonzero__ must return an int".
> 
> You've been staring at standards too much, haven't you?  The
> difference between MUST and SHOULD isn't as clear-cut as most
> standards people use them.

True, but I'd be happy if Python were to take a step in the formal
direction here.  I don't think we want to write standards-like
documentation, of course, but adopting a bit more precision couldn't
hurt and might help.
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?



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