homepage

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.

Author mark.dickinson
Recipients benjamin.peterson, donmez, jnoller, mark.dickinson
Date 2008年08月01日.22:32:18
SpamBayes Score 0.0066153975
Marked as misclassified No
Message-id <1217629940.47.0.0249490507699.issue3419@psf.upfronthosting.co.za>
In-reply-to
Content
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()
History
Date User Action Args
2008年08月01日 22:32:20mark.dickinsonsetrecipients: + mark.dickinson, donmez, benjamin.peterson, jnoller
2008年08月01日 22:32:20mark.dickinsonsetmessageid: <1217629940.47.0.0249490507699.issue3419@psf.upfronthosting.co.za>
2008年08月01日 22:32:19mark.dickinsonlinkissue3419 messages
2008年08月01日 22:32:18mark.dickinsoncreate

AltStyle によって変換されたページ (->オリジナル) /