A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-March/062924.html below:

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

[Python-Dev] Error msgs for new-style division [Python-Dev] Error msgs for new-style divisionGeorg Brandl g.brandl at gmx.net
Tue Mar 28 12:38:32 CEST 2006
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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4