]> granicus.if.org Git - python/commit
Patch from Aldo Cortesi (OpenBSD buildbot owner).
authorNeal Norwitz <nnorwitz@gmail.com>
Wed, 26 Apr 2006 05:34:03 +0000 (05:34 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Wed, 26 Apr 2006 05:34:03 +0000 (05:34 +0000)
commit57a0361a9e70268fd3299482284bbcf71ea7642f
tree4d8e0c0555ef01f96f52e48a787265689bf026f9
parenta5f1fd09eb159891313ea5a777b44fc664abdcf1
Patch from Aldo Cortesi (OpenBSD buildbot owner).

After the patch (45590) to add extra debug stats to the gc module, Python
was crashing on OpenBSD due to:
Fatal Python error: Interpreter not initialized (version mismatch?)

This seems to occur due to calling collect() when initialized (in pythonrun.c)
is set to 0.  Now, the import will occur in the init function which
shouldn't suffer this problem.
Modules/gcmodule.c