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. |
||
---|---|---|
.. | ||
cjkcodecs | ||
expat | ||
_bisectmodule.c | ||
_bsddb.c | ||
_codecsmodule.c | ||
_csv.c | ||
_curses_panel.c | ||
_cursesmodule.c | ||
_heapqmodule.c | ||
_hotshot.c | ||
_localemodule.c | ||
_randommodule.c | ||
_sre.c | ||
_ssl.c | ||
_testcapimodule.c | ||
_tkinter.c | ||
_weakref.c | ||
.cvsignore | ||
addrinfo.h | ||
almodule.c | ||
ar_beos | ||
arraymodule.c | ||
audioop.c | ||
binascii.c | ||
bsddbmodule.c | ||
bz2module.c | ||
ccpython.cc | ||
cdmodule.c | ||
cgen.py | ||
cgensupport.c | ||
cgensupport.h | ||
clmodule.c | ||
cmathmodule.c | ||
collectionsmodule.c | ||
config.c.in | ||
cPickle.c | ||
cryptmodule.c | ||
cStringIO.c | ||
cstubs | ||
datetimemodule.c | ||
dbmmodule.c | ||
dlmodule.c | ||
errnomodule.c | ||
fcntlmodule.c | ||
flmodule.c | ||
fmmodule.c | ||
fpectlmodule.c | ||
fpetestmodule.c | ||
gc_weakref.txt | ||
gcmodule.c | ||
gdbmmodule.c | ||
getaddrinfo.c | ||
getbuildinfo.c | ||
getnameinfo.c | ||
getpath.c | ||
glmodule.c | ||
grpmodule.c | ||
imageop.c | ||
imgfile.c | ||
itertoolsmodule.c | ||
ld_so_aix | ||
ld_so_beos | ||
linuxaudiodev.c | ||
main.c | ||
makesetup | ||
makexp_aix | ||
mathmodule.c | ||
md5.h | ||
md5c.c | ||
md5module.c | ||
mmapmodule.c | ||
mpzmodule.c | ||
nismodule.c | ||
operator.c | ||
ossaudiodev.c | ||
parsermodule.c | ||
posixmodule.c | ||
puremodule.c | ||
pwdmodule.c | ||
pyexpat.c | ||
python.c | ||
readline.c | ||
regexmodule.c | ||
regexpr.c | ||
regexpr.h | ||
resource.c | ||
rgbimgmodule.c | ||
rotormodule.c | ||
selectmodule.c | ||
Setup.config.in | ||
Setup.dist | ||
sgimodule.c | ||
shamodule.c | ||
signalmodule.c | ||
socketmodule.c | ||
socketmodule.h | ||
sre_constants.h | ||
sre.h | ||
stropmodule.c | ||
structmodule.c | ||
sunaudiodev.c | ||
svmodule.c | ||
symtablemodule.c | ||
syslogmodule.c | ||
termios.c | ||
testcapi_long.h | ||
threadmodule.c | ||
timemodule.c | ||
timing.h | ||
timingmodule.c | ||
tkappinit.c | ||
unicodedata_db.h | ||
unicodedata.c | ||
unicodename_db.h | ||
xreadlinesmodule.c | ||
xxmodule.c | ||
xxsubtype.c | ||
yuv.h | ||
yuvconvert.c | ||
zipimport.c | ||
zlibmodule.c |