Skip to content

Commit f1b932a

Browse files
Drop some outdated notes.
1 parent da936a6 commit f1b932a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Doc/library/concurrent.futures.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,6 @@ the bytes over a shared :mod:`socket <socket>` or
304304
and *initargs* using :mod:`pickle` when sending them to the worker's
305305
interpreter.
306306

307-
.. note::
308-
Functions defined in the ``__main__`` module cannot be pickled
309-
and thus cannot be used.
310-
311307
.. note::
312308
The executor may replace uncaught exceptions from *initializer*
313309
with :class:`~concurrent.futures.interpreter.ExecutionFailed`.
@@ -326,10 +322,6 @@ except the worker serializes the callable and arguments using
326322
:mod:`pickle` when sending them to its interpreter. The worker
327323
likewise serializes the return value when sending it back.
328324

329-
.. note::
330-
Functions defined in the ``__main__`` module cannot be pickled
331-
and thus cannot be used.
332-
333325
When a worker's current task raises an uncaught exception, the worker
334326
always tries to preserve the exception as-is. If that is successful
335327
then it also sets the ``__cause__`` to a corresponding

0 commit comments

Comments
 (0)