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 sbt
Recipients neologix, sbt
Date 2012-02-24.13:26:54
SpamBayes Score 2.7402692e-08
Marked as misclassified No
Message-id <1330090016.89.0.0238332591266.issue14087@psf.upfronthosting.co.za>
In-reply-to
Content
> Shouldn't the `for` loop be outside the outer `with` block?

Yes.

> In Lib/multiprocessing/managers.py:
> Is there a good reason why the wait_for() proxy method can't simply be
> implemented as:
> return self._callmethod('wait_for', (predicate, timeout))?
> 
> (There may be, I just didn't check).

That would only work if predicate is picklable, which is unlikely to be the case.  (The lambda functions used in the unit tests are not picklable.)

> Finally, the documentation should be updated 
> (Doc/library/multiprocessing.rst).

Fixed in new patch.

> Otherwise, it would probably be better if you could submit a contributor 
> agreement (and also maybe update your name on the tracker), unless that's
> a problem for you?

I will try to submit it over the weekend.
History
Date User Action Args
2012-02-24 13:26:57sbtsetrecipients: + sbt, neologix
2012-02-24 13:26:56sbtsetmessageid: <1330090016.89.0.0238332591266.issue14087@psf.upfronthosting.co.za>
2012-02-24 13:26:56sbtlinkissue14087 messages
2012-02-24 13:26:56sbtcreate