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)
15632
15632
int shared = 0 ;
15633
15633
switch (PyUnicode_CHECK_INTERNED (s )) {
15634
15634
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. */
15647
15636
// Skip the Immortal Instance check and restore
15648
15637
// the two references (key and value) ignored
15649
15638
// by PyUnicode_InternInPlace().
You can’t perform that action at this time.
0 commit comments