File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -15632,18 +15632,7 @@ _PyUnicode_ClearInterned(PyInterpreterState *interp)
1563215632 int shared = 0 ;
1563315633 switch (PyUnicode_CHECK_INTERNED (s )) {
1563415634 case SSTATE_INTERNED_IMMORTAL :
15635- /* Make immortal interned strings mortal again.
15636- *
15637- * Currently, the runtime is not able to guarantee that it can exit
15638- * without allocations that carry over to a future initialization
15639- * of Python within the same process. i.e:
15640- * ./python -X showrefcount -c 'import itertools'
15641- * [237 refs, 237 blocks]
15642- *
15643- * This should remain disabled (`Py_DEBUG` only) until there is a
15644- * strict guarantee that no memory will be left after
15645- * `Py_Finalize`.
15646- */
15635+ /* Make immortal interned strings mortal again. */
1564715636 // Skip the Immortal Instance check and restore
1564815637 // the two references (key and value) ignored
1564915638 // by PyUnicode_InternInPlace().
You can’t perform that action at this time.
0 commit comments