• Guido van Rossum's avatar
    Address SF bug 519621: slots weren't traversed by GC. · 9923ffe2
    Guido van Rossum yazdı
    While I was at it, I added a tp_clear handler and changed the
    tp_dealloc handler to use the clear_slots helper for the tp_clear
    handler.
    
    Also tightened the rules for slot names: they must now be proper
    identifiers (ignoring the dirty little fact that <ctype.h> is locale
    sensitive).
    
    Also set mp->flags = READONLY for the __weakref__ pseudo-slot.
    
    Most of this is a 2.2 bugfix candidate; I'll apply it there myself.
    9923ffe2
Adı
Son kayıt (commit)
Son güncelleme
..
RPM Loading commit data...
ACKS Loading commit data...
AIX-NOTES Loading commit data...
BeOS-NOTES Loading commit data...
BeOS-setup.py Loading commit data...
HISTORY Loading commit data...
HPUX-NOTES Loading commit data...
NEWS Loading commit data...
PURIFY.README Loading commit data...
Porting Loading commit data...
README Loading commit data...
RFD Loading commit data...
cheatsheet Loading commit data...
find_recursionlimit.py Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
pymemcompat.h Loading commit data...
python-mode.el Loading commit data...
python.man Loading commit data...
setuid-prog.c Loading commit data...
vgrindefs Loading commit data...