• Guido van Rossum's avatar
    Moved clear_carefully() to _PyModule_Clear() in moduleobject.c · 05f9dce3
    Guido van Rossum yazdı
    (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.
    05f9dce3
Adı
Son kayıt (commit)
Son güncelleme
..
Makefile.in Loading commit data...
atof.c Loading commit data...
bltinmodule.c Loading commit data...
ceval.c Loading commit data...
compile.c Loading commit data...
dup2.c Loading commit data...
errors.c Loading commit data...
fmod.c Loading commit data...
frozen.c Loading commit data...
frozenmain.c Loading commit data...
getargs.c Loading commit data...
getcompiler.c Loading commit data...
getcopyright.c Loading commit data...
getcwd.c Loading commit data...
getmtime.c Loading commit data...
getopt.c Loading commit data...
getplatform.c Loading commit data...
getversion.c Loading commit data...
graminit.c Loading commit data...
hypot.c Loading commit data...
import.c Loading commit data...
importdl.c Loading commit data...
importdl.h Loading commit data...
marshal.c Loading commit data...
memmove.c Loading commit data...
modsupport.c Loading commit data...
mystrtoul.c Loading commit data...
pyfpe.c Loading commit data...
pystate.c Loading commit data...
pythonmain.c Loading commit data...
pythonrun.c Loading commit data...
sigcheck.c Loading commit data...
strdup.c Loading commit data...
strerror.c Loading commit data...
strtod.c Loading commit data...
structmember.c Loading commit data...
sysmodule.c Loading commit data...
thread.c Loading commit data...
thread_cthread.h Loading commit data...
thread_foobar.h Loading commit data...
thread_lwp.h Loading commit data...
thread_nt.h Loading commit data...
thread_os2.h Loading commit data...
thread_pthread.h Loading commit data...
thread_sgi.h Loading commit data...
thread_solaris.h Loading commit data...
traceback.c Loading commit data...