Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/library/multiprocessing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -832,8 +832,8 @@ raising an exception.

One difference from other Python queue implementations, is that :mod:`multiprocessing`
queues serializes all objects that are put into them using :mod:`pickle`.
The object return by the get method is a re-created object that does not share memory
with the original object.
The object returned by the get method is a re-created object that does not share
memory with the original object.

Note that one can also create a shared queue by using a manager object -- see
:ref:`multiprocessing-managers`.
Expand Down
5 changes: 5 additions & 0 deletions Doc/library/subprocess.rst
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,11 @@ Instances of the :class:`Popen` class have the following methods:
proc.kill()
outs, errs = proc.communicate()

After a call to :meth:`~Popen.communicate` raises :exc:`TimeoutExpired`, do
not call :meth:`~Popen.wait`. Use an additional :meth:`~Popen.communicate`
call to finish handling pipes and populate the :attr:`~Popen.returncode`
attribute.

.. note::

The data read is buffered in memory, so do not use this method if the data
Expand Down
Loading