[Python-checkins] [python/cpython] 3b69d9: bpo-30886: Fix multiprocessing.Queue.join_thread()...

GitHub noreply at github.com
Mon Jul 10 06:45:25 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 3b69d911c57ef591ac0c0f47a66dbcad8337f33a
      https://github.com/python/cpython/commit/3b69d911c57ef591ac0c0f47a66dbcad8337f33a
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-07-10 (Mon, 10 Jul 2017)

  Changed paths:
    M Lib/multiprocessing/queues.py
    A Misc/NEWS.d/next/Library/2017-07-10-12-14-22.bpo-30886.nqQj34.rst

  Log Message:
  -----------
  bpo-30886: Fix multiprocessing.Queue.join_thread() (#2642)

multiprocessing.Queue.join_thread() now waits until the thread
completes, even if the thread was started by the same process which
created the queue.

Fix the following warning which occurs randomly when running
test_handle_called_with_mp_queue of test_logging.QueueListenerTest:

Warning -- threading_cleanup() failed to cleanup -1 threads after 4 sec (count: 0, dangling: 1)




More information about the Python-checkins mailing list