]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Test for issue16772 and redoes the previous fix to accept __index__-aware
authorGregory P. Smith <greg@krypto.org>
Wed, 26 Dec 2012 06:38:32 +0000 (22:38 -0800)
committerGregory P. Smith <greg@krypto.org>
Wed, 26 Dec 2012 06:38:32 +0000 (22:38 -0800)
commita689e524e7465b5facc07f493adfa7eda6b918d4
tree9d128bee57985c61bbae5bbbd5a7b153678e3271
parent83a2aa70af52eaddaaaff13167d8b1f61567d481
Test for issue16772 and redoes the previous fix to accept __index__-aware
objects as the base by using PyNumber_AsSsize_t similar to round().
Lib/test/test_int.py
Objects/longobject.c