A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-May/014864.html below:

[Python-Dev] GC and ExtensionClass - a summary of the problem and a workaround

[Python-Dev] GC and ExtensionClass - a summary of the problem and a workaround [Python-Dev] GC and ExtensionClass - a summary of the problem and a workaroundskip@pobox.com (Skip Montanaro) skip@pobox.com (Skip Montanaro)
Thu, 17 May 2001 02:07:15 -0500
    Fredrik> footnote: this is usually done in the module init function,
    Fredrik> *before* the call to Py_InitModule.  see:

    Fredrik>     http://www.python.org/doc/FAQ.html#3.24

    Fredrik> if the garbage collector can run after Python calls a module's
    Fredrik> init- function, but before that module calls back into Python,
    Fredrik> anything can happen...

Thanks for pointing that out.  Py_InitModule is indeed called before the
fixup occurs.

Skip



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4