Message154135
> 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. |
|
Date |
User |
Action |
Args |
2012-02-24 13:26:57 | sbt | set | recipients:
+ sbt, neologix |
2012-02-24 13:26:56 | sbt | set | messageid: <1330090016.89.0.0238332591266.issue14087@psf.upfronthosting.co.za> |
2012-02-24 13:26:56 | sbt | link | issue14087 messages |
2012-02-24 13:26:56 | sbt | create | |
|