[Python-Dev] PEP 326 (quick location possibility)

Guido van Rossum guido at python.org
Tue Jan 27 11:55:56 EST 2004


> > If we assume that no one is calling min or max without arguments in
> > order to raise a TypeError (which seems like a reasonable assumption),
> > then replacing the TypeError exception for behavior 1 with the following
> > seems reasonable:
> > min() -> Min
> > max() -> Max
>> I consider that behavior Unreasonable. What's reasonable is
>> 	min() -> Max
> 	max() -> Min

That it is possible to disagree about whether min() should return Min
or Max is enough to veto this idea.
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /