diff options
author | Will Roberts <wildwilhelm@gmail.com> | 2017-06-08 06:03:04 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2017-06-08 06:03:04 (GMT) |
commit | 0ecdc525146ecec9d1549ebf59404c769637a512 (patch) | |
tree | 2b37e56ef0ce6ac198d6ffc622da6f01c91ad4ef /Misc | |
parent | 5edf827c8052958b9d293f75ce8d93b66c1d58da (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |