forked from pool/python312
Fix patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python312?expand=0&rev=119
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user