New submission from Bernhard10 :
Since there have not been any significant change to the code of
argparse.HelpFormatter in the last few years but there are still some open
issues where people want to customize formatting, I would like to ask: What is
required before parts of the API of
Bernhard10 added the comment:
My first thought was that Queue was implemented using shared memory.
I guess from the fact that the "Shared memory" section is separate in the
multiprocessing documentation I should have known better, though.
So I guess some clarification in the doc
Bernhard10 added the comment:
See http://stackoverflow.com/a/925241/5069869
Apparently multiprocessing.Queue uses pickle to serialize the objects in the
queue, which explains the change of identity, but is absolutely unclear from
the documentation.
--
assignee: -> docs@pyt
New submission from Bernhard10:
When I did some tests involving unittest.mock.sentinel and
multiprocessing.Queue, I noticed that multiprocessing.Queue changes the id of
the sentinel.
This behaviour is definitely surprising and not documented.
--
files: mwe.py
messages: 283192
nosy