Message347017
The implementation of the logging.handler.QueueHandler and logging.handler.QueueListener does not make use of the task tracking API of queues (queue.task_done(), queue.join()) nor does it care if the queue is unbounded (queue.full(), catching the Full exception).
As such, it can work just as well with the new queue.SimpleQueue implementation (new in 3.7, see https://docs.python.org/3/library/queue.html#queue.SimpleQueue), which is fast and lightweight, implemented in C.
Can the documentation be updated to make this option explicit? |
|
Date |
User |
Action |
Args |
2019-07-01 13:41:45 | mjpieters | set | recipients:
+ mjpieters, docs@python |
2019-07-01 13:41:45 | mjpieters | set | messageid: <1561988505.1.0.589194187819.issue37469@roundup.psfhosted.org> |
2019-07-01 13:41:45 | mjpieters | link | issue37469 messages |
2019-07-01 13:41:44 | mjpieters | create | |
|