summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshadchin <[email protected]>2025-07-21 19:30:15 +0300
committershadchin <[email protected]>2025-07-21 19:50:43 +0300
commitf30b72372452df7df6fdba12858bfc020b669772 (patch)
tree2ef1596db2497d710fa958798dba62e16355f3b0
parent0edd170a1d49437a83a47434b078e9733db2ab64 (diff)
Moved patch to `jupyter-core`
commit_hash:18ebf710692df871dceae55c907824e5582537fd
-rw-r--r--contrib/tools/python3/Objects/unicodeobject.c2
-rw-r--r--contrib/tools/python3/patches/xxx-pydebug.patch11
2 files changed, 1 insertions, 12 deletions
diff --git a/contrib/tools/python3/Objects/unicodeobject.c b/contrib/tools/python3/Objects/unicodeobject.c
index 512526feecc..7f7a14d256f 100644
--- a/contrib/tools/python3/Objects/unicodeobject.c
+++ b/contrib/tools/python3/Objects/unicodeobject.c
@@ -14977,7 +14977,7 @@ intern_static(PyInterpreterState *interp, PyObject *s /* stolen */)
* per-interpreter interned_dict, which might contain duplicates.
*/
PyObject *interned = get_interned_dict(interp);
- // assert(interned == NULL);
+ assert(interned == NULL);
#endif
/* Look in the global cache first. */
diff --git a/contrib/tools/python3/patches/xxx-pydebug.patch b/contrib/tools/python3/patches/xxx-pydebug.patch
deleted file mode 100644
index ad3fd98df03..00000000000
--- a/contrib/tools/python3/patches/xxx-pydebug.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- contrib/tools/python3/Objects/unicodeobject.c (index)
-+++ contrib/tools/python3/Objects/unicodeobject.c (working tree)
-@@ -14911,7 +14911,7 @@ intern_static(PyInterpreterState *interp, PyObject *s /* stolen */)
- * per-interpreter interned_dict, which might contain duplicates.
- */
- PyObject *interned = get_interned_dict(interp);
-- assert(interned == NULL);
-+ // assert(interned == NULL);
- #endif
-
- /* Look in the global cache first. */