Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(111)

#22939: integer overflow in iterator object

Can't Edit
Can't Publish+Mail
Start Review
Created:
5 years, 1 month ago by python
Modified:
5 years, 1 month ago
Reviewers:
storchaka
CC:
rhettinger, Ronald Oussoren, mark.dickinson, haypo, r.david.murray, devnull_psf.upfronthosting.co.za, storchaka, hakril
Visibility:
Public.

Patch Set 1 #

Total comments: 2

Patch Set 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Lib/test/test_iter.py View 1 2 chunks +26 lines, -0 lines 0 comments Download
Objects/iterobject.c View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 1
storchaka_gmail.com
5 years, 1 month ago #1
https://bugs.python.org/review/22939/diff/13365/Lib/test/test_iter.py
File Lib/test/test_iter.py (right):

https://bugs.python.org/review/22939/diff/13365/Lib/test/test_iter.py#newcode922
Lib/test/test_iter.py:922: def test_iter_overflow(self):
Mark the test as @cpython_only.

https://bugs.python.org/review/22939/diff/13365/Lib/test/test_iter.py#newcode929
Lib/test/test_iter.py:929: # Manually set `it_index` to PY_SSIZE_T_MAX without a
loop
Add tests for negative indices.
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+