]> granicus.if.org Git - python/commit
Two independent changes (alas):
authorGuido van Rossum <guido@python.org>
Mon, 3 Nov 1997 21:58:47 +0000 (21:58 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 3 Nov 1997 21:58:47 +0000 (21:58 +0000)
commit3a44e1b9fbf914769083239a1c5deb1a71b2862d
treef1a3dcf20e61daaf8f6ec75b366b66c8e1144103
parent7ff20ac9c7519f3ecef33331f6222304fe1772f1
Two independent changes (alas):

- The interp->builtins variable (and hence, __main__.__builtins__) is
once again initialized to the built-in *module* instead of its
dictionary.

- The finalization order is once again changed.  Signals are finalized
relatively early, because (1) it DECREF's the signal handlers, and if
a signal handler happens to be a bound method, deleting it could cause
problems when there's no current thread around, and (2) we don't want
to risk executing signal handlers during finalization.
Python/pythonrun.c