Python Forum
multiprocessing.Queue.put(,,0) not documented
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multiprocessing.Queue.put(,,0) not documented
#1
in the documentation for multiprocessing.Queue.put(), it describes what happens when block (2nd argument) is True (the default) and timeout (3rd argument) is None (the default) or a positive number. but it does not say what happens for a number value of zero. i'm hoping it raises the queue.Full exception immediately if the there is no available queue slot. or do i need to set block (2nd argument) to False?

i am reading this in the Library Reference PDF for version 3.7.4 even though i have 3.6.8.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
If the documentation is weak in a particular area, I'd build my own test cases and see what is actually happening.
I'd probably also write up the documentation that should be there and submit that to python.org
Reply
#3
It’s good to bear in mind that people develop Python language for annual salary of $0.

If one has interest and little spare time I suggest watching Raymond Hettinger Being a core developer in Python
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Multiprocessing queue catch get timeout Pythocodras 1 2,304 Apr-22-2022, 06:01 PM
Last Post: Pythocodras
  Multiprocessing, class, run and a Queue Object SeanInColo 0 1,531 Jul-12-2020, 05:36 PM
Last Post: SeanInColo
  task queue Valon1981 8 3,593 Jul-07-2020, 07:41 AM
Last Post: freeman
  Queue in Pygame constantin01 1 3,676 Jan-07-2020, 04:02 PM
Last Post: metulburr
  Queue maxsize mr_byte31 2 4,541 Sep-03-2019, 07:02 PM
Last Post: mr_byte31
  Multiprocessing.Queue Issues (Missing/Corrupted Items/No Output) python3noob 0 3,206 Aug-03-2019, 09:38 PM
Last Post: python3noob
  multiprocessing.Queue.join_thread() says "thread" Skaperen 0 2,160 Jul-29-2019, 12:45 AM
Last Post: Skaperen
  Multiprocessing.Queue with hugh data causes _wait_for_tstate_lock buhtz 0 5,192 May-27-2019, 09:47 AM
Last Post: buhtz
  Queue.Queue() would not reduce capacity after get() yuan8421 9 11,058 Jan-02-2018, 09:38 PM
Last Post: Windspar
  Threading and Queue nexusfactor 5 4,260 Oct-16-2017, 04:14 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020