summaryrefslogtreecommitdiffstats
path: root/Doc/TODO
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-01-30 22:06:23 (GMT)
committerGuido van Rossum <guido@python.org>2003-01-30 22:06:23 (GMT)
commit177e41a1178e501887d24610c0c3feba2cf7f70c (patch)
tree0be6007ce83caada8d793c2eefaeb53821541ae6 /Doc/TODO
parente14295cf5f5a21dd94a540341202deec9e58b4c9 (diff)
downloadcpython-177e41a1178e501887d24610c0c3feba2cf7f70c.zip
cpython-177e41a1178e501887d24610c0c3feba2cf7f70c.tar.gz
cpython-177e41a1178e501887d24610c0c3feba2cf7f70c.tar.bz2
Change the approach to pickling to use __reduce__ everywhere. Most
classes have a __reduce__ that returns (self.__class__, self.__getstate__()). tzinfo.__reduce__() is a bit smarter, calling __getinitargs__ and __getstate__ if they exist, and falling back to __dict__ if it exists and isn't empty.
Diffstat (limited to 'Doc/TODO')
0 files changed, 0 insertions, 0 deletions