Title: Refactor reduce protocol implementation
Type: enhancement Stage: patch review
Components: Interpreter Core Versions: Python 3.4
Status: closed Resolution: duplicate
Dependencies: Superseder: Implement PEP 3154 (pickle protocol 4)
View: 17810
Assigned To: alexandre.vassalotti Nosy List: alexandre.vassalotti, pitrou, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2013-05-02 09:53 by alexandre.vassalotti, last changed 2013-11-17 21:21 by alexandre.vassalotti. This issue is now closed.

File name Uploaded Description Edit
refactor_reduce.patch alexandre.vassalotti, 2013-05-02 09:53
Messages (2)
msg188261 - (view) Author: Alexandre Vassalotti (alexandre.vassalotti) * (Python committer) Date: 2013-05-02 09:53
I have tried to clean up a bit of the implementation of the reduce protocol in typeobject.c in preparation for PEP 3154's support of classes with __new__ using keyword-only arguments. I am not quite done yet with the refactorings, but I would appreciate some early feedback about whether  the changes looks right or other refactoring ideas you might have.
msg203212 - (view) Author: Alexandre Vassalotti (alexandre.vassalotti) * (Python committer) Date: 2013-11-17 21:21
Merged with issue #17810
Date User Action Args
2013-11-17 21:21:00alexandre.vassalottisetstatus: open -> closed
superseder: Implement PEP 3154 (pickle protocol 4)
resolution: duplicate
messages: + msg203212
2013-05-02 09:53:56alexandre.vassalottilinkissue17810 dependencies
2013-05-02 09:53:07alexandre.vassalotticreate