[Python-bugs-list] [ python-Bugs-614555 ] Rewrite _reduce and _reconstructor in C

noreply@sourceforge.net noreply@sourceforge.net
Wed, 25 Sep 2002 11:15:01 -0700


Bugs item #614555, was opened at 2002-09-25 14:15
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=614555&group_id=5470

Category: Python Interpreter Core
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Guido van Rossum (gvanrossum)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Rewrite _reduce and _reconstructor in C

Initial Comment:
The copy_reg defines two functions, _reduce() and
_reconstructor(), that are used for the pickling and
unpickling of new-style classes. These were originally
written in Python because the right implementation
wasn't entirely clear; _reduce() is actually called
from a C-level __reduce__ method defined in 'object',
and it references _reconstructor() in its return tuple.
It is now time to move both back into C for efficiency.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=614555&group_id=5470