]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #17576: Deprecation warning emitted now when __int__() or __index__()
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 11 Dec 2013 19:26:36 +0000 (21:26 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 11 Dec 2013 19:26:36 +0000 (21:26 +0200)
commitc4f3212abc7e927f9218a7c82fae9e5639e272bc
tree18d65bdc892a0593c32c4ea037a992f82abfe6f0
parentb282b3d804165d704130fabf0f609d5dd46c1ed2
parent31a655411a79b00517cdcd0a2752824d183db792
Issue #17576: Deprecation warning emitted now when __int__() or __index__()
return not int instance.  Introduced _PyLong_FromNbInt() and refactored
PyLong_As*() functions.
Include/longobject.h
Lib/test/test_getargs2.py
Lib/test/test_int.py
Misc/NEWS
Objects/abstract.c
Objects/longobject.c