diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-08 19:06:52 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-08 19:06:52 (GMT) |
commit | c3215f530f62ab7e112e0b36b968bf7aa2b831ca (patch) | |
tree | 9e2a2ea437617fd1b0203fd60aa3c800f14d050d | |
parent | c7f490c8b19d5458d692f243279f7ad898f13ec4 (diff) | |
parent | 48b1c3fcfc47b720a721ef887dd495ad667f567f (diff) | |
download | cpython-c3215f530f62ab7e112e0b36b968bf7aa2b831ca.zip cpython-c3215f530f62ab7e112e0b36b968bf7aa2b831ca.tar.gz cpython-c3215f530f62ab7e112e0b36b968bf7aa2b831ca.tar.bz2 |
Merge from 3.5.
-rw-r--r-- | Lib/_collections_abc.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Lib/_collections_abc.py b/Lib/_collections_abc.py index e309655..ee7d0f1 100644 --- a/Lib/_collections_abc.py +++ b/Lib/_collections_abc.py @@ -41,6 +41,7 @@ dict_itemiterator = type(iter({}.items())) list_iterator = type(iter([])) list_reverseiterator = type(iter(reversed([]))) range_iterator = type(iter(range(0))) +longrange_iterator = type(iter(range(1 << 1000))) set_iterator = type(iter(set())) str_iterator = type(iter("")) tuple_iterator = type(iter(())) @@ -225,6 +226,7 @@ Iterator.register(dict_itemiterator) Iterator.register(list_iterator) Iterator.register(list_reverseiterator) Iterator.register(range_iterator) +Iterator.register(longrange_iterator) Iterator.register(set_iterator) Iterator.register(str_iterator) Iterator.register(tuple_iterator) @@ -10,6 +10,9 @@ What's New in Python 3.6.0 beta 2 Core and Builtins ----------------- +- Issue #28376: The type of long range iterator is now registered as Iterator. + Patch by Oren Milman. + - Issue #28376: Creating instances of range_iterator by calling range_iterator type now is deprecated. Patch by Oren Milman. |