File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff 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
327323likewise 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-
333325When a worker's current task raises an uncaught exception, the worker
334326always tries to preserve the exception as-is. If that is successful
335327then it also sets the ``__cause__ `` to a corresponding
You can’t perform that action at this time.
0 commit comments