mirror of
https://github.com/python/cpython.git
synced 2024-11-28 16:45:42 +01:00
0a4dd390bf
- weakref.ref and weakref.ReferenceType will become aliases for each other - weakref.ref will be a modern, new-style class with proper __new__ and __init__ methods - weakref.WeakValueDictionary will have a lighter memory footprint, using a new weakref.ref subclass to associate the key with the value, allowing us to have only a single object of overhead for each dictionary entry (currently, there are 3 objects of overhead per entry: a weakref to the value, a weakref to the dictionary, and a function object used as a weakref callback; the weakref to the dictionary could be avoided without this change) - a new macro, PyWeakref_CheckRefExact(), will be added - PyWeakref_CheckRef() will check for subclasses of weakref.ref This closes SF patch #983019. |
||
---|---|---|
.. | ||
abstract.h | ||
bitset.h | ||
boolobject.h | ||
bufferobject.h | ||
cellobject.h | ||
ceval.h | ||
classobject.h | ||
cobject.h | ||
codecs.h | ||
compile.h | ||
complexobject.h | ||
cStringIO.h | ||
datetime.h | ||
descrobject.h | ||
dictobject.h | ||
enumobject.h | ||
errcode.h | ||
eval.h | ||
fileobject.h | ||
floatobject.h | ||
frameobject.h | ||
funcobject.h | ||
genobject.h | ||
graminit.h | ||
grammar.h | ||
import.h | ||
intobject.h | ||
intrcheck.h | ||
iterobject.h | ||
listobject.h | ||
longintrepr.h | ||
longobject.h | ||
marshal.h | ||
metagrammar.h | ||
methodobject.h | ||
modsupport.h | ||
moduleobject.h | ||
node.h | ||
object.h | ||
objimpl.h | ||
opcode.h | ||
osdefs.h | ||
parsetok.h | ||
patchlevel.h | ||
pgen.h | ||
pgenheaders.h | ||
py_curses.h | ||
pydebug.h | ||
pyerrors.h | ||
pyfpe.h | ||
pygetopt.h | ||
pymactoolbox.h | ||
pymem.h | ||
pyport.h | ||
pystate.h | ||
pystrtod.h | ||
Python.h | ||
pythonrun.h | ||
pythread.h | ||
rangeobject.h | ||
setobject.h | ||
sliceobject.h | ||
stringobject.h | ||
structmember.h | ||
structseq.h | ||
symtable.h | ||
sysmodule.h | ||
timefuncs.h | ||
token.h | ||
traceback.h | ||
tupleobject.h | ||
ucnhash.h | ||
unicodeobject.h | ||
weakrefobject.h |