[Python-Dev] r84771 - python/branches/release27-maint/Lib/test/test_io.py

Antoine Pitrou solipsis at pitrou.net
Thu Sep 16 17:38:50 CEST 2010

On Thu, 16 Sep 2010 17:27:50 +0200
Georg Brandl <g.brandl at gmx.net> wrote:
> Maybe you want to mention *who* warns?

I suppose it's the -3 flag:

$ ~/cpython/27/python -3 -c "1/0"
-c:1: DeprecationWarning: classic int division
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

More information about the Python-Dev mailing list