Title: Reimplement multiprocessing's ForkingPickler using dispatch_table
Type: performance Stage: resolved
Components: Library (Lib) Versions: Python 3.3
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: alexandre.vassalotti, jnoller, pitrou, python-dev, sbt
Priority: normal Keywords: patch

Created on 2012-03-16 14:04 by sbt, last changed 2012-03-16 23:31 by pitrou. This issue is now closed.

File name Uploaded Description Edit
mp_forking_pickler.patch sbt, 2012-03-16 14:04 review
Messages (3)
msg156028 - (view) Author: Richard Oudkerk (sbt) * (Python committer) Date: 2012-03-16 14:04
The attached patch reimplements ForkingPickler using the new dispatch_table attribute.

This allows ForkingPickler to subclass Pickler (implemented in C) instead of _Pickler (implemented in Python).
msg156105 - (view) Author: Roundup Robot (python-dev) Date: 2012-03-16 23:28
New changeset b2a8310de718 by Antoine Pitrou in branch 'default':
Issue #14335: multiprocessing's custom Pickler subclass now inherits from the C-accelerated implementation.
msg156107 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012-03-16 23:31
Thanks for this! Committed now.
Date User Action Args
2012-03-16 23:31:06pitrousetstatus: open -> closed
resolution: fixed
messages: + msg156107

stage: resolved
2012-03-16 23:28:44python-devsetnosy: + python-dev
messages: + msg156105
2012-03-16 23:16:32eric.araujosetnosy: + pitrou, alexandre.vassalotti, jnoller
2012-03-16 14:04:47sbtcreate