Commit 32596523 authored by Raymond Hettinger's avatar Raymond Hettinger

Py3k warnings now automatically include -Qwarn for division.

parent bb94fd82
......@@ -12,6 +12,9 @@ What's New in Python 2.6.2
Core and Builtins
-----------------
- Running Python with the -3 option now also warns about classic division
for ints and longs.
- Issue #5013: Fixed a bug in FileHandler which occurred when the delay
parameter was set.
......
......@@ -317,6 +317,8 @@ Py_Main(int argc, char **argv)
case '3':
Py_Py3kWarningFlag++;
if (!Py_DivisionWarningFlag)
Py_DivisionWarningFlag = 1;
break;
case 'Q':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment