A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-July/026227.html below:

[Python-Dev] AtExit Functions

[Python-Dev] AtExit Functions [Python-Dev] AtExit FunctionsM.-A. Lemburg mal@lemburg.com
Tue, 09 Jul 2002 15:28:52 +0200
While working with mxTextTools 2.1.0b2, Mike Fletcher found that
he gets a fatal error when the interpreter exits.

Some tracing indicates that the cause is the at exit function
of mxTextTools which clears the cache of tag tables used by
the Tagging Engine in mxTextTools.

If these tables include references to (callable) Python instances,
Python can't properly clean them up when decref'ing them at
AtExit time.

Would it be safe to simply move the call_dll_exitfunc()
call just before the "clear threat" code in Py_Finalize() ?

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/





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