[Python-Dev] PEP 326 (quick location possibility) (original) (raw)
Andrew Koenig ark-mlist at att.net
Tue Jan 27 11:10:40 EST 2004
- Previous message: [Python-Dev] PEP 326 (quick location possibility)
- Next message: [Python-Dev] PEP 326 (quick location possibility)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] PEP 326 (quick location possibility)
- Next message: [Python-Dev] PEP 326 (quick location possibility)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]