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/2000-July/006533.html below:

[Python-Dev] request for minor enhancement

[Python-Dev] request for minor enhancementEric S. Raymond esr@thyrsus.com
Fri, 14 Jul 2000 11:05:04 -0400
Greg Wilson <gvwilson@nevex.com>:
> I would like 'min' and 'max' to be in-fix binary operators, with '__min__'
> and '__max__' as the associated overloadable method names, and 'min=' and
> 'max=' as the in-place forms.  I find myself re-defining them in almost
> every module I write, and believe that their semantics and implementation
> would be unproblematic?
> 
> Reactions?

+0
-- 
		<a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a>

"As to the species of exercise, I advise the gun. While this gives
[only] moderate exercise to the body, it gives boldness, enterprise,
and independence to the mind.  Games played with the ball and others
of that nature, are too violent for the body and stamp no character on
the mind. Let your gun, therefore, be the constant companion to your
walks."
        -- Thomas Jefferson, writing to his teenaged nephew.



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