summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>2024-11-12 13:10:10 (GMT)
committerGitHub <noreply@github.com>2024-11-12 13:10:10 (GMT)
commit6e3bb8a91380ba98d704f2dca8e98923c0abc8a8 (patch)
tree9a54666fbe01d413b3f37df59e55d56065d89e6c /Misc/NEWS.d/next
parent37c57dfad12744608091653fd753a1f770e2479b (diff)
downloadcpython-6e3bb8a91380ba98d704f2dca8e98923c0abc8a8.zip
cpython-6e3bb8a91380ba98d704f2dca8e98923c0abc8a8.tar.gz
cpython-6e3bb8a91380ba98d704f2dca8e98923c0abc8a8.tar.bz2
gh-126595: fix a crash when calling `itertools.count(sys.maxsize)` (#126617)
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Library/2024-11-09-10-31-10.gh-issue-126595.A-7MyC.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-11-09-10-31-10.gh-issue-126595.A-7MyC.rst b/Misc/NEWS.d/next/Library/2024-11-09-10-31-10.gh-issue-126595.A-7MyC.rst
new file mode 100644
index 0000000..84a5dc0
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-11-09-10-31-10.gh-issue-126595.A-7MyC.rst
@@ -0,0 +1,2 @@
+Fix a crash when instantiating :class:`itertools.count` with an initial
+count of :data:`sys.maxsize` on debug builds. Patch by Bénédikt Tran.