[issue28376] rangeiter_new fails when creating a range of step 0

Serhiy Storchaka report at bugs.python.org
Thu Oct 6 13:08:22 EDT 2016


Serhiy Storchaka added the comment:

Good point Naoki. I think we can remove tp_new method from range_iterator in 3.7. Seems it is never used.

The patch LGTM for 3.5-3.6, but the test should be marked as CPython implementation detail (@support.cpython_only).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28376>
_______________________________________


More information about the Python-bugs-list mailing list