If a float is passed where a int is expected, issue a DeprecationWarning
instead of raising a TypeError. Closes #660144 (again).
diff --git a/Misc/NEWS b/Misc/NEWS
index a90faa6..67e84df 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -223,9 +223,10 @@
C API
-----
-- The PyArg_Parse functions now raise a TypeError instead of truncating float
- arguments if an integer is specified (this affects the 'b', 'B', 'h', 'H',
- 'i', and 'l' codes).
+- The PyArg_Parse functions now issue a DeprecationWarning if a float
+ argument is provided when an integer is specified (this affects the 'b',
+ 'B', 'h', 'H', 'i', and 'l' codes). Future versions of Python will
+ raise a TypeError.
New platforms