]> granicus.if.org Git - python/commit
Change the Fini function to only remove otherwise unreferenced strings
authorGuido van Rossum <guido@python.org>
Tue, 5 Aug 1997 02:15:12 +0000 (02:15 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 5 Aug 1997 02:15:12 +0000 (02:15 +0000)
commit971a7aaeac7b9c817ca68f11701b97bbd9aa54ab
tree3bd28d65c1111b2c3093fbc84131ca9542d519f8
parent1f39c5c666ce8ede33b989aa816ed947affd1f7b
Change the Fini function to only remove otherwise unreferenced strings
from the interned table.  There are references in hard-to-find static
variables all over the interpreter, and it's not worth trying to get
rid of all those; but "uninterning" isn't fair either and may cause
subtle failures later -- so we have to keep them in the interned
table.

Also get rid of no-longer-needed insert of None in interned dict.
Objects/stringobject.c