• Guido van Rossum's avatar
    *Semantic change*: when unpickling the instance variables of an · d6ead328
    Guido van Rossum yazdı
    instance, use inst.__dict__.update(value) instead of a for loop with
    setattr() over the value.keys().  This is more consistent (the
    pickling doesn't use getattr() either but pickles inst.__dict__) and
    avoids problems with instances that have a __setattr__ hook.
    
    But it *is* a semantic change (because the setattr hook is no longer
    used).  So beware!
    d6ead328
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
BUGS Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...