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 Martin.Teichmann
Recipients Martin.Teichmann, asvetlov, yselivanov
Date 2019-06-19.07:41:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560930108.51.0.0633177562649.issue37334@roundup.psfhosted.org>
In-reply-to
Content
When working with queues, it is not uncommon that at some point the producer stops producing data for good, or the consumer stops consuming, for example because a network connection broke down or some user simply closed the session.

In this situation it is very useful to simply cancel all the waiting getters and putters. A simple method can do that, Queue.cancel.
History
Date User Action Args
2019-06-19 07:41:48Martin.Teichmannsetrecipients: + Martin.Teichmann, asvetlov, yselivanov
2019-06-19 07:41:48Martin.Teichmannsetmessageid: <1560930108.51.0.0633177562649.issue37334@roundup.psfhosted.org>
2019-06-19 07:41:48Martin.Teichmannlinkissue37334 messages
2019-06-19 07:41:48Martin.Teichmanncreate