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 crazycasta
Recipients crazycasta
Date 2021-01-01.02:36:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609468619.92.0.822679872473.issue42752@roundup.psfhosted.org>
In-reply-to
Content
Well, having not heard anything I decided to just make a patch and throw it up. Here it is. This includes a test that will fail with the old version and passes once patched as well as the patch to the queue code itself.

Worth noting, the CleanExchange class is used because simpler things like using a closure to pass the exchange mechanism hold a reference to the Queue one way or another that is difficult/impossible to kill. This is because the intermediate thread mechanisms hold a reference to all the arguments that are passed to the run function. CleanExchange allows an indirect reference to be passed and for the reference to Queue to be None'd out.
History
Date User Action Args
2021-01-01 02:36:59crazycastasetrecipients: + crazycasta
2021-01-01 02:36:59crazycastasetmessageid: <1609468619.92.0.822679872473.issue42752@roundup.psfhosted.org>
2021-01-01 02:36:59crazycastalinkissue42752 messages
2021-01-01 02:36:59crazycastacreate