]> granicus.if.org Git - python/commit
Implementing the salient parts of __reduce_ex__ in C.
authorGuido van Rossum <guido@python.org>
Fri, 21 Feb 2003 22:02:54 +0000 (22:02 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 21 Feb 2003 22:02:54 +0000 (22:02 +0000)
commit036f999669d9d32e74442c9b5e5ba94a85ae282c
treeb5fdeda7e88e2581b677d36f1a2e1c386bfb7c91
parent7107a7fbcc424fbe4ceb3de523db4d51f34d3f37
Implementing the salient parts of __reduce_ex__ in C.
This still falls back to helpers in copy_reg for:
   - pickle protocols < 2
   - calculating the list of slot names (done only once per class)
   - the __newobj__ function (which is used as a token but never called)
Objects/typeobject.c