Skip to content

Commit 080a853

Browse files
committed
Remove outdated comment
1 parent 085b93e commit 080a853

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Objects/unicodeobject.c

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff 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().

0 commit comments

Comments
 (0)