diff options
author | Raymond Hettinger <python@rcn.com> | 2009-02-18 23:10:19 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-02-18 23:10:19 (GMT) |
commit | 08259e8f254a0595f8ed1be29b2d135f9b0d2d50 (patch) | |
tree | f149668877acf9edd9e8198e35e29125f0248919 /Modules/main.c | |
parent | c8223b09b0c457f764f93749d8af81a9b3f99317 (diff) | |
download | cpython-08259e8f254a0595f8ed1be29b2d135f9b0d2d50.zip cpython-08259e8f254a0595f8ed1be29b2d135f9b0d2d50.tar.gz cpython-08259e8f254a0595f8ed1be29b2d135f9b0d2d50.tar.bz2 |
Py3k warnings now automatically include -Qwarn for division.
Diffstat (limited to 'Modules/main.c')
-rw-r--r-- | Modules/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/main.c b/Modules/main.c index 6ed2cd7..1a58071 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -317,6 +317,8 @@ Py_Main(int argc, char **argv) case '3': Py_Py3kWarningFlag++; + if (!Py_DivisionWarningFlag) + Py_DivisionWarningFlag = 1; break; case 'Q': |