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 bar.harel
Recipients bar.harel
Date 2019-05-06.15:03:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557155039.79.0.434860875914.issue36813@roundup.psfhosted.org>
In-reply-to
Content
QueueListener does not call task_done upon termination, causing an unsuspecting thread to deadlock.

Steps to reproduce:

>>> import queue
>>> q = queue.Queue()
>>> from logging.handlers import QueueListener
>>> h = QueueListener(q)
>>> h.start()
>>> h.stop()
# Goodbye cruel world!
>>> q.join()

Fixing and uploading a patch as we speak.
History
Date User Action Args
2019-05-06 15:03:59bar.harelsetrecipients: + bar.harel
2019-05-06 15:03:59bar.harelsetmessageid: <1557155039.79.0.434860875914.issue36813@roundup.psfhosted.org>
2019-05-06 15:03:59bar.harellinkissue36813 messages
2019-05-06 15:03:59bar.harelcreate