mirror of https://github.com/python/cpython
05f9dce34f
(modified) and use that. Some differences in the cleanup algorithm: - Clear __main__ before the other modules. - Delete more sys variables: including ps1, ps2, exitfunc, argv, and even path -- this will prevent new imports! - Restore stdin, stdout, stderr from __stdin__, __stdout__, __stderr__, effectively deleting hooks that the user might have installed -- so their (the hooks') destructors will run. |
||
---|---|---|
.. | ||
Makefile.in | ||
atof.c | ||
bltinmodule.c | ||
ceval.c | ||
compile.c | ||
dup2.c | ||
errors.c | ||
fmod.c | ||
frozen.c | ||
frozenmain.c | ||
getargs.c | ||
getcompiler.c | ||
getcopyright.c | ||
getcwd.c | ||
getmtime.c | ||
getopt.c | ||
getplatform.c | ||
getversion.c | ||
graminit.c | ||
hypot.c | ||
import.c | ||
importdl.c | ||
importdl.h | ||
marshal.c | ||
memmove.c | ||
modsupport.c | ||
mystrtoul.c | ||
pyfpe.c | ||
pystate.c | ||
pythonmain.c | ||
pythonrun.c | ||
sigcheck.c | ||
strdup.c | ||
strerror.c | ||
strtod.c | ||
structmember.c | ||
sysmodule.c | ||
thread.c | ||
thread_cthread.h | ||
thread_foobar.h | ||
thread_lwp.h | ||
thread_nt.h | ||
thread_os2.h | ||
thread_pthread.h | ||
thread_sgi.h | ||
thread_solaris.h | ||
traceback.c |