mirror of https://github.com/python/cpython.git
f1dc0615e9
clear_carefully() used to do in import.c. Differences: leave only __builtins__ alone in the 2nd pass; and don't clear the dictionary (on the theory that as long as there are references left to the dictionary, those might be destructors that might expect __builtins__ to be alive when they run; and __builtins__ can't normally be part of a cycle). |
||
---|---|---|
.. | ||
Makefile | ||
Python.h | ||
abstract.h | ||
bitset.h | ||
cStringIO.h | ||
ceval.h | ||
classobject.h | ||
cobject.h | ||
compile.h | ||
complexobject.h | ||
config.h | ||
dictobject.h | ||
errcode.h | ||
eval.h | ||
fileobject.h | ||
floatobject.h | ||
frameobject.h | ||
funcobject.h | ||
graminit.h | ||
grammar.h | ||
import.h | ||
intobject.h | ||
intrcheck.h | ||
listobject.h | ||
longintrepr.h | ||
longobject.h | ||
marshal.h | ||
metagrammar.h | ||
methodobject.h | ||
modsupport.h | ||
moduleobject.h | ||
mymalloc.h | ||
mymath.h | ||
myproto.h | ||
myselect.h | ||
mytime.h | ||
node.h | ||
object.h | ||
objimpl.h | ||
opcode.h | ||
osdefs.h | ||
parsetok.h | ||
patchlevel.h | ||
pgenheaders.h | ||
pydebug.h | ||
pyerrors.h | ||
pyfpe.h | ||
pystate.h | ||
pythonrun.h | ||
pythread.h | ||
rangeobject.h | ||
rename1.h | ||
rename2.h | ||
sliceobject.h | ||
stringobject.h | ||
structmember.h | ||
sysmodule.h | ||
thread.h | ||
token.h | ||
traceback.h | ||
tupleobject.h |