]> granicus.if.org Git - python/commit
bpo-29914: Fix default implementations of __reduce__ and __reduce_ex__(). (#843)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 8 Apr 2017 06:52:59 +0000 (09:52 +0300)
committerGitHub <noreply@github.com>
Sat, 8 Apr 2017 06:52:59 +0000 (09:52 +0300)
commit205e00c5cfd495a4dc6dae8e8fa0fb828fb3dca9
treef23611c3139118d743b18410c07669a2f41b9d93
parentdd9a0a14c89d57e43898d4b866b8c161e4ff8506
bpo-29914: Fix default implementations of __reduce__ and __reduce_ex__(). (#843)

object.__reduce__() no longer takes arguments, object.__reduce_ex__() now
requires one argument.
Lib/test/test_descr.py
Misc/NEWS
Objects/clinic/typeobject.c.h
Objects/typeobject.c