pyrseus.executors¶

This package provides several standalone concurrent.futures.Executor subclasses.

Modules

cpinline

Provides a variant of InlineExecutor that tests the picklability of all submitted tasks and their return values, using cloudpickle.

cpnocatch

Provides a variant of NoCatchExecutor that tests the picklability of all submitted tasks and their return values, using cloudpickle.

cpprocess

Provides a drop-in replacement for the built-in ProcessPoolExecutor that uses cloudpickle for pickling tasks and their return values, instead of pickle.

inline

Provides a simple serial executor that captures exceptions in the standard way.

nocatch

Provides a simple serial executor that does not capture exceptions in submitted futures.

pinline

Provides a variant of InlineExecutor that tests the picklability of all submitted tasks and their return values, using pickle.

pnocatch

Provides a variant of NoCatchExecutor that tests the picklability of all submitted tasks and their return values.