diff options
author | Guido van Rossum <guido@python.org> | 1997-09-08 02:08:11 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-09-08 02:08:11 +0000 |
commit | d6ead328b36eb686b95dd9949087dc77a6ff0234 (patch) | |
tree | 8a182a11855e4ca542ae6189236b25ebc20c8660 /Mac/scripts/ConfigurePython.py | |
parent | 75626a3b934f27b7bc19901997131561e35edc9a (diff) | |
download | cpython-git-d6ead328b36eb686b95dd9949087dc77a6ff0234.tar.gz |
*Semantic change*: when unpickling the instance variables of an
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!
Diffstat (limited to 'Mac/scripts/ConfigurePython.py')
0 files changed, 0 insertions, 0 deletions