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

[Python-Dev] PEP 326 now online

[Python-Dev] PEP 326 now online [Python-Dev] PEP 326 now onlineRaymond Hettinger python at rcn.com
Mon Jan 5 16:44:01 EST 2004
> I've submitted my latest changes that I believe address the concerns
> brought up since I last emailed the list.  Until they are in CVS and
on
> the standard PEP page, it can be found here:
> http://josiahcarlson.no-ip.org/pep-0326.html

+1  It would occasionally be useful to have ready access to an object
whose sole purpose is to compare higher or lower than everything else.

Robert Brewer's idea to use spelled-out names, cmp.high and cmp.low, is
easy to remember, better for non-native English speakers, and reasonably
compact.

As for the open issues section, I am -1 on changing the behavior of
min/max to return the new objects when given an empty list.  Likewise,
I'm -1 on having the operators do any math except for comparisons.  The
idea is most attractive in its simplest form -- there is no reason to
make something hard out of something simple.


Raymond Hettinger


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