summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorWill Roberts <wildwilhelm@gmail.com>2017-06-08 06:03:04 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2017-06-08 06:03:04 (GMT)
commit0ecdc525146ecec9d1549ebf59404c769637a512 (patch)
tree2b37e56ef0ce6ac198d6ffc622da6f01c91ad4ef /Misc
parent5edf827c8052958b9d293f75ce8d93b66c1d58da (diff)
downloadcpython-0ecdc525146ecec9d1549ebf59404c769637a512.zip
cpython-0ecdc525146ecec9d1549ebf59404c769637a512.tar.gz
cpython-0ecdc525146ecec9d1549ebf59404c769637a512.tar.bz2
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
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f043832..0bc33bb 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -128,6 +128,9 @@ Core and Builtins
- bpo-29546: Improve from-import error message with location
+- bpo-30537: itertools.islice now accepts integer-like objects (having
+ an __index__ method) as start, stop, and slice arguments
+
- Issue #29319: Prevent RunMainFromImporter overwriting sys.path[0].
- Issue #29337: Fixed possible BytesWarning when compare the code objects.