@@ -150,18 +150,18 @@ to start a process. These *start methods* are
150
150
over Unix pipes such as Linux.
151
151
152
152
153
- .. versionchanged :: 3.8
154
-
155
- On macOS, the *spawn * start method is now the default. The *fork * start
156
- method should be considered unsafe as it can lead to crashes of the
157
- subprocess as macOS system libraries may start threads. See :issue: `33725 `.
158
-
159
153
.. versionchanged :: 3.4
160
154
*spawn * added on all POSIX platforms, and *forkserver * added for
161
155
some POSIX platforms.
162
156
Child processes no longer inherit all of the parents inheritable
163
157
handles on Windows.
164
158
159
+ .. versionchanged :: 3.8
160
+
161
+ On macOS, the *spawn * start method is now the default. The *fork * start
162
+ method should be considered unsafe as it can lead to crashes of the
163
+ subprocess as macOS system libraries may start threads. See :issue: `33725 `.
164
+
165
165
On POSIX using the *spawn * or *forkserver * start methods will also
166
166
start a *resource tracker * process which tracks the unlinked named
167
167
system resources (such as named semaphores or
@@ -519,7 +519,7 @@ The :mod:`multiprocessing` package mostly replicates the API of the
519
519
to the process.
520
520
521
521
.. versionchanged :: 3.3
522
- Added the *daemon * argument .
522
+ Added the *daemon * parameter .
523
523
524
524
.. method :: run()
525
525
@@ -1245,8 +1245,7 @@ Connection objects are usually created using
1245
1245
Connection objects themselves can now be transferred between processes
1246
1246
using :meth: `Connection.send ` and :meth: `Connection.recv `.
1247
1247
1248
- .. versionadded :: 3.3
1249
- Connection objects now support the context management protocol -- see
1248
+ Connection objects also now support the context management protocol -- see
1250
1249
:ref: `typecontextmanager `. :meth: `~contextmanager.__enter__ ` returns the
1251
1250
connection object, and :meth: `~contextmanager.__exit__ ` calls :meth: `close `.
1252
1251
@@ -2250,11 +2249,11 @@ with the :class:`Pool` class.
2250
2249
as CPython does not assure that the finalizer of the pool will be called
2251
2250
(see :meth: `object.__del__ ` for more information).
2252
2251
2253
- .. versionadded :: 3.2
2254
- *maxtasksperchild *
2252
+ .. versionchanged :: 3.2
2253
+ Added the *maxtasksperchild * parameter.
2255
2254
2256
- .. versionadded :: 3.4
2257
- *context *
2255
+ .. versionchanged :: 3.4
2256
+ Added the *context * parameter.
2258
2257
2259
2258
.. versionchanged :: 3.13
2260
2259
*processes * uses :func: `os.process_cpu_count ` by default, instead of
@@ -2380,7 +2379,7 @@ with the :class:`Pool` class.
2380
2379
Wait for the worker processes to exit. One must call :meth: `close ` or
2381
2380
:meth: `terminate ` before using :meth: `join `.
2382
2381
2383
- .. versionadded :: 3.3
2382
+ .. versionchanged :: 3.3
2384
2383
Pool objects now support the context management protocol -- see
2385
2384
:ref: `typecontextmanager `. :meth: `~contextmanager.__enter__ ` returns the
2386
2385
pool object, and :meth: `~contextmanager.__exit__ ` calls :meth: `terminate `.
@@ -2549,7 +2548,7 @@ multiple connections at the same time.
2549
2548
The address from which the last accepted connection came. If this is
2550
2549
unavailable then it is ``None ``.
2551
2550
2552
- .. versionadded :: 3.3
2551
+ .. versionchanged :: 3.3
2553
2552
Listener objects now support the context management protocol -- see
2554
2553
:ref: `typecontextmanager `. :meth: `~contextmanager.__enter__ ` returns the
2555
2554
listener object, and :meth: `~contextmanager.__exit__ ` calls :meth: `close `.
0 commit comments