Skip to content

bpo-40387 Improve queue join() example.#19724

Merged
rhettinger merged 1 commit intopython:masterfrom
rhettinger:improve_queue_join_example
Apr 27, 2020
Merged

bpo-40387 Improve queue join() example.#19724
rhettinger merged 1 commit intopython:masterfrom
rhettinger:improve_queue_join_example

Conversation

@rhettinger
Copy link
Contributor

@rhettinger rhettinger commented Apr 26, 2020

  • Replace placeholder function with a print().
  • Keep the example focused on queue.put(), queue.get(), and queue.join().
  • Remove the threading poisoning with None. That is the technique that queue.join() was meant to replace.

https://bugs.python.org/issue40387

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants