[python-users] Fiese Falle

Michael Kesper mkesper at schokokeks.org
So Jun 12 23:14:17 CEST 2016


Hallo Dirk, hallo zusammen,

in der Tat:

Python 2.7.9 / Python 3.4.2:
 >>> print(min("-1","-2"))
-1
 >>> print(max("-1","-2"))
-2

Erwartet hätte ich eigentlich eine TypeError Exception.

Viele Grüße
Michael



Mehr Informationen über die Mailingliste python-users