Message341519
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. |
|
Date |
User |
Action |
Args |
2019-05-06 15:03:59 | bar.harel | set | recipients:
+ bar.harel |
2019-05-06 15:03:59 | bar.harel | set | messageid: <1557155039.79.0.434860875914.issue36813@roundup.psfhosted.org> |
2019-05-06 15:03:59 | bar.harel | link | issue36813 messages |
2019-05-06 15:03:59 | bar.harel | create | |
|