Message154135
| 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: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 |
|