Issue #28376: Creating instances of range_iterator by calling range_i… · pythoncapi/cpython@c7f490c · GitHub
Skip to content

Commit c7f490c

Browse files
Issue python#28376: Creating instances of range_iterator by calling range_iterator
type now is deprecated. Patch by Oren Milman.
1 parent 639098c commit c7f490c

3 files changed

Lines changed: 36 additions & 23 deletions

File tree

Lib/test/test_range.py

Lines changed: 26 additions & 23 deletions

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ What's New in Python 3.6.0 beta 2
1010
Core and Builtins
1111
-----------------
1212

13+
- Issue #28376: Creating instances of range_iterator by calling range_iterator
14+
type now is deprecated. Patch by Oren Milman.
15+
1316
- Issue #28376: The constructor of range_iterator now checks that step is not 0.
1417
Patch by Oren Milman.
1518

Objects/rangeobject.c

Lines changed: 7 additions & 0 deletions

0 commit comments

Comments
 (0)