]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
There's no good reason for datetime objects to expose __getstate__()
authorTim Peters <tim.peters@gmail.com>
Sat, 1 Feb 2003 02:54:15 +0000 (02:54 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 1 Feb 2003 02:54:15 +0000 (02:54 +0000)
commitb57f8f02bafcb74cd6c47f59f67d1b6bdfb33aec
tree839b9905e3dbb932b37585032356e035a5cfa2f4
parent874d9bcbe5794539a4f6bc1ca46df7841b88f830
There's no good reason for datetime objects to expose __getstate__()
anymore either, so don't.  This also allows to get rid of obscure code
making __getnewargs__ identical to __getstate__ (hmm ... hope there
wasn't more to this than I realize!).
Lib/test/test_datetime.py
Misc/NEWS
Modules/datetimemodule.c