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 Martin.Teichmann, asvetlov, cjrh, yselivanov
Date 2019-11-22.17:54:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> 1. A CancelledError (or maybe`QueueCancelled`?) exception is raised in all producers and consumers ) - this gives a producer a chance to handle the error and do something with the waiting item that could not be `put()`

> 2. Items currently on the queue still get processed in the consumers before the consumers exit.

This (especially 2) sounds quite tricky.

Maybe we should just add a method to Queue to get the list of current consumers, of pending consumers, and pending producers?  This way users can implement whatever semantics they want (probably :wink:).
Date User Action Args
2019-11-22 17:54:20yselivanovsetrecipients: + yselivanov, asvetlov, cjrh, Martin.Teichmann
2019-11-22 17:54:20yselivanovsetmessageid: <>
2019-11-22 17:54:20yselivanovlinkissue37334 messages
2019-11-22 17:54:20yselivanovcreate