@@ -137,19 +137,19 @@ to start a process. These *start methods* are
137
137
Available on Unix platforms which support passing file descriptors
138
138
over Unix pipes.
139
139
140
- .. versionchanged :: 3.8
141
-
142
- On macOS, the *spawn * start method is now the default. The *fork * start
143
- method should be considered unsafe as it can lead to crashes of the
144
- subprocess. See :issue: `33725 `.
145
-
146
140
.. versionchanged :: 3.4
147
141
*spawn * added on all Unix platforms, and *forkserver * added for
148
142
some Unix platforms.
149
143
Child processes no longer inherit all of the parents inheritable
150
144
handles on Windows.
151
145
152
- On Unix using the *spawn * or *forkserver * start methods will also
146
+ .. versionchanged :: 3.8
147
+
148
+ On macOS, the *spawn * start method is now the default. The *fork * start
149
+ method should be considered unsafe as it can lead to crashes of the
150
+ subprocess as macOS system libraries may start threads. See :issue: `33725 `.
151
+
152
+ On POSIX using the *spawn * or *forkserver * start methods will also
153
153
start a *resource tracker * process which tracks the unlinked named
154
154
system resources (such as named semaphores or
155
155
:class: `~multiprocessing.shared_memory.SharedMemory ` objects) created
@@ -506,7 +506,7 @@ The :mod:`multiprocessing` package mostly replicates the API of the
506
506
to the process.
507
507
508
508
.. versionchanged :: 3.3
509
- Added the *daemon * argument .
509
+ Added the *daemon * parameter .
510
510
511
511
.. method :: run()
512
512
@@ -1208,8 +1208,7 @@ Connection objects are usually created using
1208
1208
Connection objects themselves can now be transferred between processes
1209
1209
using :meth: `Connection.send ` and :meth: `Connection.recv `.
1210
1210
1211
- .. versionadded :: 3.3
1212
- Connection objects now support the context management protocol -- see
1211
+ Connection objects also now support the context management protocol -- see
1213
1212
:ref: `typecontextmanager `. :meth: `~contextmanager.__enter__ ` returns the
1214
1213
connection object, and :meth: `~contextmanager.__exit__ ` calls :meth: `close `.
1215
1214
@@ -2212,11 +2211,11 @@ with the :class:`Pool` class.
2212
2211
as CPython does not assure that the finalizer of the pool will be called
2213
2212
(see :meth: `object.__del__ ` for more information).
2214
2213
2215
- .. versionadded :: 3.2
2216
- *maxtasksperchild *
2214
+ .. versionchanged :: 3.2
2215
+ Added the *maxtasksperchild * parameter.
2217
2216
2218
- .. versionadded :: 3.4
2219
- *context *
2217
+ .. versionchanged :: 3.4
2218
+ Added the *context * parameter.
2220
2219
2221
2220
.. note ::
2222
2221
@@ -2338,7 +2337,7 @@ with the :class:`Pool` class.
2338
2337
Wait for the worker processes to exit. One must call :meth: `close ` or
2339
2338
:meth: `terminate ` before using :meth: `join `.
2340
2339
2341
- .. versionadded :: 3.3
2340
+ .. versionchanged :: 3.3
2342
2341
Pool objects now support the context management protocol -- see
2343
2342
:ref: `typecontextmanager `. :meth: `~contextmanager.__enter__ ` returns the
2344
2343
pool object, and :meth: `~contextmanager.__exit__ ` calls :meth: `terminate `.
@@ -2507,7 +2506,7 @@ multiple connections at the same time.
2507
2506
The address from which the last accepted connection came. If this is
2508
2507
unavailable then it is ``None ``.
2509
2508
2510
- .. versionadded :: 3.3
2509
+ .. versionchanged :: 3.3
2511
2510
Listener objects now support the context management protocol -- see
2512
2511
:ref: `typecontextmanager `. :meth: `~contextmanager.__enter__ ` returns the
2513
2512
listener object, and :meth: `~contextmanager.__exit__ ` calls :meth: `close `.
0 commit comments