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 schmir
Recipients anacrolix, bquinlan, loewis, pitrou, python-dev, rosslagerwall, schmir
Date 2012年08月20日.13:09:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345468206.48.0.257074756083.issue14406@psf.upfronthosting.co.za>
In-reply-to
Content
I think having a lock here is unnecessary. The following code should work:
def _decrement_pending_calls(self):
 if self.num_pending_calls == len(self.finished_futures):
 self.event.set()
(well, maybe the method should also be renamed then)
History
Date User Action Args
2012年08月20日 13:10:06schmirsetrecipients: + schmir, loewis, bquinlan, pitrou, anacrolix, rosslagerwall, python-dev
2012年08月20日 13:10:06schmirsetmessageid: <1345468206.48.0.257074756083.issue14406@psf.upfronthosting.co.za>
2012年08月20日 13:09:45schmirlinkissue14406 messages
2012年08月20日 13:09:45schmircreate

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