We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31f63de commit cb4df3fCopy full SHA for cb4df3f
1 file changed
Misc/NEWS.d/next/Core_and_Builtins/2026-06-21-23-23-24.gh-issue-151847.5uNKTL.rst
@@ -0,0 +1,3 @@
1
+When formatting a ``str`` or ``bytes`` with ``%``, passing ``-sys.maxsize -
2
+1`` as the width previously negated it, this is undefined behaviour in C. it
3
+now raises :exc:`OverflowError`.
0 commit comments