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

Andrew Koenig ark-mlist at att.net
Tue Jan 27 11:10:40 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


More information about the Python-Dev mailing list