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 pajs@fodder.org.uk
Recipients jnoller, pajs@fodder.org.uk, pitrou
Date 2009-10-14.15:18:26
SpamBayes Score 0.0002663692
Marked as misclassified No
Message-id <1255533507.91.0.473589551371.issue7123@psf.upfronthosting.co.za>
In-reply-to
Content
If you mean, in main() instead of doing:

while True:
    q.put(["data1", "data2"])
    t = Process(target=popJobs, args=(q, ))
    t.start()
    t.join()

and doing:

while True:
    q.put(["data1", "data2"])
    popJobs(q)

instead. Then, the bug does indeed occur the same way. It did take more
iterations before it occured however. 

If however, you meant:

while True:
   fail=failureObject()
   for x in ["data1", "data2"]:
       checkAlive(fail, x)
   print(fail.status())

Then the bug never occurs.
History
Date User Action Args
2009-10-14 15:18:28pajs@fodder.org.uksetrecipients: + pajs@fodder.org.uk, pitrou, jnoller
2009-10-14 15:18:27pajs@fodder.org.uksetmessageid: <1255533507.91.0.473589551371.issue7123@psf.upfronthosting.co.za>
2009-10-14 15:18:26pajs@fodder.org.uklinkissue7123 messages
2009-10-14 15:18:26pajs@fodder.org.ukcreate