[issue45030] Integer overflow in __reduce__ of the range iterator

2021-09-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45030] Integer overflow in __reduce__ of the range iterator

2021-09-04 Thread miss-islington
miss-islington added the comment: New changeset fecd17fbcb68138c6535130dfca2173472d669cd by Miss Islington (bot) in branch '3.9': bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000) https://github.com/python/cpython/commit/fecd17fbcb68138c6535130dfca2173472d669cd

[issue45030] Integer overflow in __reduce__ of the range iterator

2021-09-04 Thread miss-islington
miss-islington added the comment: New changeset ed9f927527e100b6d1d5758fdd9fc20b313af226 by Miss Islington (bot) in branch '3.10': bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000) https://github.com/python/cpython/commit/ed9f927527e100b6d1d5758fdd9fc20b313af226

[issue45030] Integer overflow in __reduce__ of the range iterator

2021-09-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +26593 pull_request: https://github.com/python/cpython/pull/28161 ___ Python tracker ___

[issue45030] Integer overflow in __reduce__ of the range iterator

2021-09-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +26592 pull_request: https://github.com/python/cpython/pull/28160 ___ Python tracker

[issue45030] Integer overflow in __reduce__ of the range iterator

2021-09-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 936f6a16b9ef85bd56b18a247b962801e954c30e by Serhiy Storchaka in branch 'main': bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000) https://github.com/python/cpython/commit/936f6a16b9ef85bd56b18a247b962801e954c30e

[issue45030] Integer overflow in __reduce__ of the range iterator

2021-08-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +26443 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28000 ___ Python tracker

[issue45030] Integer overflow in __reduce__ of the range iterator

2021-08-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : >>> it = iter(range(2**63-10, 2**63-1, 10)) >>> it.__reduce__() (, (range(9223372036854775798, -9223372036854775808, 10),), 0) >>> import pickle >>> it2 = pickle.loads(pickle.dumps(it)) >>> list(it) [9223372036854775798] >>> list(it2) [] --