]> granicus.if.org Git - python/commit
Temporarily get rid of the registration of Tcl_Finalize() as a
authorGuido van Rossum <guido@python.org>
Tue, 14 Jul 1998 18:02:13 +0000 (18:02 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 14 Jul 1998 18:02:13 +0000 (18:02 +0000)
commit43ff8683fe68424b9c179ee4970bb865e11036d6
tree59592acc31ae261b6953ed08a063e25eee7fc117
parent69a79bca6860ae84f502f163176bf49b633d6add
Temporarily get rid of the registration of Tcl_Finalize() as a
low-level Python exit handler.  This can attempt to call Python code
at a point that the interpreter and thread state have already been
destroyed, causing a Bus Error.  Given the intended use of
Py_AtExit(), I'm not convinced that it's a good idea to call it
earlier during Python's finalization sequence...  (Although this is
the only use for it in the entire distribution.)
Modules/_tkinter.c