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 yselivanov
Recipients pfreixes, yselivanov
Date 2017-10-11.06:35:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507703702.46.0.213398074469.issue30457@psf.upfronthosting.co.za>
In-reply-to
Content
> Not really, your code never removes the key from the events. If the cache is cleaned all further executions will keep forever in the `wait` statement. It is needed to create the Event again to perform at least one query to retrieve the cache value.

Right.  Well, that should be solved by adding "events.pop(key)" right after "events[key].set()"?
History
Date User Action Args
2017-10-11 06:35:02yselivanovsetrecipients: + yselivanov, pfreixes
2017-10-11 06:35:02yselivanovsetmessageid: <1507703702.46.0.213398074469.issue30457@psf.upfronthosting.co.za>
2017-10-11 06:35:02yselivanovlinkissue30457 messages
2017-10-11 06:35:02yselivanovcreate