]> granicus.if.org Git - python/commit
Issue #5080: turn the DeprecationWarning from float arguments passed
authorMark Dickinson <dickinsm@gmail.com>
Fri, 1 Jan 2010 17:27:30 +0000 (17:27 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Fri, 1 Jan 2010 17:27:30 +0000 (17:27 +0000)
commit1b34d2552c2cb2369130291a8a9ae973753b4072
tree5bfcf8b49745280e0a92a49ef2102d81c3674b68
parentedfe72f66fd789d65b0c7125540c08d3e98a901e
Issue #5080: turn the DeprecationWarning from float arguments passed
to integer PyArg_Parse* format codes into a TypeError.  Add a
DeprecationWarning for floats passed with the 'L' format code, which
didn't previously have a warning.
Lib/os.py
Lib/test/test_getargs2.py
Lib/test/test_os.py
Lib/test/test_xrange.py
Misc/NEWS
Python/getargs.c