This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Reimplement multiprocessing's ForkingPickler using dispatch_table
Type: performance Stage: resolved
Components: Library (Lib) Versions: Python 3.3
process
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 2022-04-11 14:57 by admin. This issue is now closed.

Files
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) (Python triager) 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.
http://hg.python.org/cpython/rev/b2a8310de718
msg156107 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012-03-16 23:31
Thanks for this! Committed now.
History
Date User Action Args
2022-04-11 14:57:28adminsetgithub: 58543
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