Re: [Python-Dev] Error msgs for new-style division

2006-03-28 Thread Thomas Heller
Georg Brandl wrote: > Hi, > > (this makes test_ctypes fail, therefore I noticed) > > currently with -Qnew: > 2/0 > Traceback (most recent call last): > File "", line 1, in ? > ZeroDivisionError: float division 2L/0 > Traceback (most recent call last): > File "", line 1, in ? > Zero

[Python-Dev] Error msgs for new-style division

2006-03-28 Thread Georg Brandl
Hi, (this makes test_ctypes fail, therefore I noticed) currently with -Qnew: >>> 2/0 Traceback (most recent call last): File "", line 1, in ? ZeroDivisionError: float division >>> 2L/0 Traceback (most recent call last): File "", line 1, in ? ZeroDivisionError: long division or modulo by zero