Issue #5080: turn the DeprecationWarning from float arguments passed
commit6f5b4abb73320ad374d8b03e3410d7269a1b8971
authormark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 1 Jan 2010 17:27:30 +0000 (1 17:27 +0000)
committermark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 1 Jan 2010 17:27:30 +0000 (1 17:27 +0000)
tree1b6706772fbcdd8171857ee5ca29c1d822d54d42
parent8ad32c45f5a18e32b3da3770ff2576eaf4ea85c8
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.

git-svn-id: http://svn.python.org/projects/python/trunk@77218 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/os.py
Lib/test/test_getargs2.py
Lib/test/test_os.py
Lib/test/test_xrange.py
Misc/NEWS
Python/getargs.c