You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rewrite PipeConnection and Connection in pure Python #55952
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2011-05-09.15:49:44.104>created_at=<Date2011-04-02.21:33:00.396>labels= ['type-feature', 'library']
title='Rewrite PipeConnection and Connection in pure Python'updated_at=<Date2011-05-10.02:30:51.906>user='https://github.com/pitrou'
Nothing jumps out at me at initial review; I've asked other contributors/interested parties to take a look too. Thanks a ton Antoine for doing this work
The patch slows down Pipe() a bit, by the way. On my machine, each message sent and received has an additional 10µs overhead. See attached benchmark script.
Activity
pitrou commentedon Apr 2, 2011
Here is a rewrite of multiprocessing.{PipeConnection,Connection} in pure Python, for ease of maintenance and improvement.
jnoller commentedon Apr 3, 2011
Nothing jumps out at me at initial review; I've asked other contributors/interested parties to take a look too. Thanks a ton Antoine for doing this work
pitrou commentedon Apr 3, 2011
The patch slows down Pipe() a bit, by the way. On my machine, each message sent and received has an additional 10µs overhead. See attached benchmark script.
pitrou commentedon Apr 3, 2011
Woops, sorry for the duplicates...
asksol commentedon Apr 3, 2011
This is great! I always wondered if it was really necessary to use C for this. 10µs overhead should be worth it ;)
I've read the patch, but not carefully. So far nothing jumps at me either.
Cheers!
pitrou commentedon May 7, 2011
Updated patch, fixing a sporadic failure in test_spawn_close.
python-dev commentedon May 9, 2011
New changeset 1ac03e071d65 by Antoine Pitrou in branch 'default':
Issue bpo-11743: Rewrite multiprocessing connection classes in pure Python.
http://hg.python.org/cpython/rev/1ac03e071d65
pitrou commentedon May 9, 2011
Now checked in, hopefully there will be no buildbot failures.