]> granicus.if.org Git - python/commit
If a float is passed where a int is expected, issue a DeprecationWarning
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Tue, 4 Feb 2003 20:59:40 +0000 (20:59 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Tue, 4 Feb 2003 20:59:40 +0000 (20:59 +0000)
commit5042da6b1e567039951cdfe6b822dd725012bdf1
treef23911306c5e8ecee66e3b8a7dcb1d0259221c71
parent731098b3ff6e37cc0950397a0e2bd868f4d6ff86
If a float is passed where a int is expected, issue a DeprecationWarning
instead of raising a TypeError.  Closes #660144 (again).
Misc/NEWS
Python/getargs.c