A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-March/062927.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 divisionThomas Heller theller at python.net
Tue Mar 28 12:57:10 CEST 2006
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

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