[issue17893] Refactor reduce protocol implementation

2013-11-17 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Merged with issue #17810 -- resolution: -> duplicate status: open -> closed superseder: -> Implement PEP 3154 (pickle protocol 4) ___ Python tracker ___

[issue17893] Refactor reduce protocol implementation

2013-05-02 Thread Alexandre Vassalotti
New submission from Alexandre Vassalotti: 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 appreciat