]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30537: use PyNumber in itertools.islice instead of PyLong (#1918)
authorWill Roberts <wildwilhelm@gmail.com>
Thu, 8 Jun 2017 06:03:04 +0000 (08:03 +0200)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Thu, 8 Jun 2017 06:03:04 +0000 (23:03 -0700)
commit0ecdc525146ecec9d1549ebf59404c769637a512
tree2b37e56ef0ce6ac198d6ffc622da6f01c91ad4ef
parent5edf827c8052958b9d293f75ce8d93b66c1d58da
bpo-30537: use PyNumber in itertools.islice instead of PyLong (#1918)

* bpo-30537: use PyNumber in itertools instead of PyLong

* bpo-30537: revert changes except to islice_new

* bpo-30537: test itertools.islice and add entry to Misc/NEWS
Lib/test/test_itertools.py
Misc/NEWS
Modules/itertoolsmodule.c