2025-05-17 21:08:41 +00:00
committed by Git OBS Bridge
parent 0a23865f82
commit b814d70dca

View File

@@ -235,7 +235,7 @@ Index: Python-3.12.10/Misc/NEWS.d/next/Security/2025-05-09-20-22-54.gh-issue-133
Index: Python-3.12.10/Objects/bytesobject.c
===================================================================
--- Python-3.12.10.orig/Objects/bytesobject.c 2025-04-08 11:35:47.000000000 +0000
+++ Python-3.12.10/Objects/bytesobject.c 2025-05-17 17:38:23.813947222 +0000
+++ Python-3.12.10/Objects/bytesobject.c 2025-05-17 21:07:50.280395109 +0000
@@ -1048,10 +1048,11 @@
}
@@ -310,7 +310,7 @@ Index: Python-3.12.10/Objects/bytesobject.c
if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
- "invalid octal escape sequence '\\%.3s'",
- first_invalid_escape) < 0)
+ "'\\%o' is an invalid octal escape sequence. "
+ "'\\%o' is an invalid octal escape sequence. ",
+ first_invalid_escape_char) < 0)
{
Py_DECREF(result);