Error msgs for new-style division
Hi, (this makes test_ctypes fail, therefore I noticed) currently with -Qnew:
2/0 Traceback (most recent call last): File "<stdin>", line 1, in ? ZeroDivisionError: float division 2L/0 Traceback (most recent call last): File "<stdin>", line 1, in ? ZeroDivisionError: long division or modulo by zero 2/0L Traceback (most recent call last): File "<stdin>", line 1, in ? ZeroDivisionError: long division or modulo by zero
This seems a little inconsistent. Do we care? Georg
Georg Brandl wrote:
Hi,
(this makes test_ctypes fail, therefore I noticed)
currently with -Qnew:
2/0 Traceback (most recent call last): File "<stdin>", line 1, in ? ZeroDivisionError: float division 2L/0 Traceback (most recent call last): File "<stdin>", line 1, in ? ZeroDivisionError: long division or modulo by zero 2/0L Traceback (most recent call last): File "<stdin>", line 1, in ? ZeroDivisionError: long division or modulo by zero
I'll fix that in the ctypes tests. Thomas
participants (2)
-
Georg Brandl
-
Thomas Heller