Message70603
For the connection refused error, the following script fails for me
(again, on OS X 10.5.4) with the message:
errno: [Errno 61] Connection refused
on most runs. (If xrange(10) is replaced by a smaller range like
xrange(4) then the script usually runs without error.) Looks like
something in semaphore.c needs fixing, but I've no idea what.
from multiprocessing import Process, Manager
sleeping = Manager().Semaphore(0)
def f():
sleeping.release()
for _ in xrange(10):
Process(target=f).start()
for _ in xrange(10):
sleeping.acquire() |
|
Date |
User |
Action |
Args |
2008-08-01 22:32:20 | mark.dickinson | set | recipients:
+ mark.dickinson, donmez, benjamin.peterson, jnoller |
2008-08-01 22:32:20 | mark.dickinson | set | messageid: <1217629940.47.0.0249490507699.issue3419@psf.upfronthosting.co.za> |
2008-08-01 22:32:19 | mark.dickinson | link | issue3419 messages |
2008-08-01 22:32:18 | mark.dickinson | create | |
|