]> granicus.if.org Git - python/commit
Fixed new seemingly random segfaults, by moving the initialization of
authorTim Peters <tim.peters@gmail.com>
Sat, 5 Apr 2003 17:15:44 +0000 (17:15 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 5 Apr 2003 17:15:44 +0000 (17:15 +0000)
commit93ad66dea9814b6ad59710171227d84c78bbb4b9
tree90599d5f51e113fb1274d32846156e7e1a708455
parentc377cbfdaf9feb02bc5bea347cbe4c587ef33a10
Fixed new seemingly random segfaults, by moving the initialization of
delstr from initgc() into collect().  initgc() isn't called unless the
user explicitly imports gc, so can be used only for initialization of
user-visible module features; delstr needs to be initialized for proper
internal operation, whether or not gc is explicitly imported.

Bugfix candidate?  I don't know whether the new bug was backported to
2.2 already.
Modules/gcmodule.c