codecov[bot]: # [Codecov](https://codecov.io/gh/joblib/joblib/pull/708?src=pr&el=h1) Report
> Merging [#708](https://codecov.io/gh/joblib/joblib/pull/708?src=pr&el=desc) into [master](https://codecov.io/gh/joblib/joblib/commit/bb027ab7dfd01ce618c04a9bbac12f7fa1fe2857?src=pr&el=desc) will **decrease** coverage by `1.4%`.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/joblib/joblib/pull/708/graphs/tree.svg?token=gA6LF5DGTW&width=650&src=pr&height=150)](https://codecov.io/gh/joblib/joblib/pull/708?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master     #708      +/-   ##
==========================================
- Coverage    95.1%   93.69%   -1.41%     
==========================================
  Files          40       40              
  Lines        5746     5746              
==========================================
- Hits         5465     5384      -81     
- Misses        281      362      +81
```


| [Impacted Files](https://codecov.io/gh/joblib/joblib/pull/708?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [joblib/test/common.py](https://codecov.io/gh/joblib/joblib/pull/708/diff?src=pr&el=tree#diff-am9ibGliL3Rlc3QvY29tbW9uLnB5) | `74.57% <0%> (-13.56%)` | :arrow_down: |
| [joblib/testing.py](https://codecov.io/gh/joblib/joblib/pull/708/diff?src=pr&el=tree#diff-am9ibGliL3Rlc3RpbmcucHk=) | `87.5% <0%> (-7.5%)` | :arrow_down: |
| [joblib/backports.py](https://codecov.io/gh/joblib/joblib/pull/708/diff?src=pr&el=tree#diff-am9ibGliL2JhY2twb3J0cy5weQ==) | `89.58% <0%> (-6.25%)` | :arrow_down: |
| [joblib/pool.py](https://codecov.io/gh/joblib/joblib/pull/708/diff?src=pr&el=tree#diff-am9ibGliL3Bvb2wucHk=) | `85.34% <0%> (-6.04%)` | :arrow_down: |
| [joblib/func\_inspect.py](https://codecov.io/gh/joblib/joblib/pull/708/diff?src=pr&el=tree#diff-am9ibGliL2Z1bmNfaW5zcGVjdC5weQ==) | `91.42% <0%> (-3.43%)` | :arrow_down: |
| [joblib/test/test\_parallel.py](https://codecov.io/gh/joblib/joblib/pull/708/diff?src=pr&el=tree#diff-am9ibGliL3Rlc3QvdGVzdF9wYXJhbGxlbC5weQ==) | `93.71% <0%> (-2.92%)` | :arrow_down: |
| [joblib/numpy\_pickle.py](https://codecov.io/gh/joblib/joblib/pull/708/diff?src=pr&el=tree#diff-am9ibGliL251bXB5X3BpY2tsZS5weQ==) | `96.05% <0%> (-2.47%)` | :arrow_down: |
| [joblib/numpy\_pickle\_utils.py](https://codecov.io/gh/joblib/joblib/pull/708/diff?src=pr&el=tree#diff-am9ibGliL251bXB5X3BpY2tsZV91dGlscy5weQ==) | `91.39% <0%> (-2.16%)` | :arrow_down: |
| [joblib/test/test\_numpy\_pickle.py](https://codecov.io/gh/joblib/joblib/pull/708/diff?src=pr&el=tree#diff-am9ibGliL3Rlc3QvdGVzdF9udW1weV9waWNrbGUucHk=) | `96.32% <0%> (-1.51%)` | :arrow_down: |
| [joblib/parallel.py](https://codecov.io/gh/joblib/joblib/pull/708/diff?src=pr&el=tree#diff-am9ibGliL3BhcmFsbGVsLnB5) | `95.94% <0%> (-1.45%)` | :arrow_down: |
| ... and [7 more](https://codecov.io/gh/joblib/joblib/pull/708/diff?src=pr&el=tree-more) | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/joblib/joblib/pull/708?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/joblib/joblib/pull/708?src=pr&el=footer). Last update [bb027ab...1732ea8](https://codecov.io/gh/joblib/joblib/pull/708?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

diff --git a/joblib/externals/loky/__init__.py b/joblib/externals/loky/__init__.py
index 0935619..332adfe 100644
--- a/joblib/externals/loky/__init__.py
+++ b/joblib/externals/loky/__init__.py
@@ -9,4 +9,4 @@ from .process_executor import BrokenProcessPool  # noqa: F401
 
 from .backend.context import cpu_count  # noqa: F401
 
-__version__ = '2.1.3'
+__version__ = '2.1.4'
diff --git a/joblib/externals/loky/backend/utils.py b/joblib/externals/loky/backend/utils.py
index d4cc11a..28cf689 100644
--- a/joblib/externals/loky/backend/utils.py
+++ b/joblib/externals/loky/backend/utils.py
@@ -42,9 +42,9 @@ def _recursive_terminate(pid):
                 ["taskkill", "/F", "/T", "/PID", str(pid)],
                 stderr=None)
         except subprocess.CalledProcessError as e:
-            # In windows, taskkill return 1 for permission denied and 128 for
-            # no process found.
-            if e.returncode not in [1, 128]:
+            # In windows, taskkill return 1 for permission denied and 128, 255
+            # for no process found.
+            if e.returncode not in [1, 128, 255]:
                 raise
             elif e.returncode == 1:
                 # Try to kill the process without its descendants if taskkill
diff --git a/joblib/externals/loky/process_executor.py b/joblib/externals/loky/process_executor.py
index a788024..f537fce 100644
--- a/joblib/externals/loky/process_executor.py
+++ b/joblib/externals/loky/process_executor.py
@@ -69,6 +69,7 @@ import traceback
 import threading
 import multiprocessing as mp
 from functools import partial
+from pickle import PicklingError
 
 from . import _base
 from .backend import get_context
@@ -285,16 +286,19 @@ class _SafeQueue(Queue):
     def _on_queue_feeder_error(self, e, obj):
         if isinstance(obj, _CallItem):
             # fromat traceback only on python3
+            pickling_error = PicklingError(
+                "Could not pickle the task to send it to the workers.")
             tb = traceback.format_exception(
                 type(e), e, getattr(e, "__traceback__", None))
-            e.__cause__ = _RemoteTraceback('\n"""\n{}"""'.format(''.join(tb)))
+            pickling_error.__cause__ = _RemoteTraceback(
+                '\n"""\n{}"""'.format(''.join(tb)))
             work_item = self.pending_work_items.pop(obj.work_id, None)
             self.running_work_items.remove(obj.work_id)
             # work_item can be None if another process terminated. In this
             # case, the queue_manager_thread fails all work_items with
             # BrokenProcessPool
             if work_item is not None:
-                work_item.future.set_exception(e)
+                work_item.future.set_exception(pickling_error)
                 del work_item
             self.thread_wakeup.wakeup()
         else:

Regression in 0.12: different exception type than PicklingError when arguments of Parallel can not be pickled
Moved from https://github.com/joblib/joblib/issues/706#issuecomment-400189831. Probably because of the switch from pickle to cloudpickle.

```py
import numpy as np

import pymc3 as pm

rng = np.random.RandomState(0)
count_data = rng.randint(1, 70, 100).astype(dtype=np.float64)
n_count_data = len(count_data)

with pm.Model() as model:
    alpha = 1.0/count_data.mean()  # Recall count_data is the
                                   # variable that holds our txt counts
    lambda_1 = pm.Exponential("lambda_1", alpha)
    lambda_2 = pm.Exponential("lambda_2", alpha)
    
    tau = pm.DiscreteUniform("tau", lower=0, upper=n_count_data - 1)

with model:
    step = pm.Metropolis()
    trace = pm.sample(5, tune=10,step=step)
```

More context from https://github.com/joblib/joblib/issues/706#issuecomment-400187390:
It seems like the problem comes from the fact that  pymc3 catches `PickleError` to fall-back to single threaded mode:

```pytb
~/miniconda3/lib/python3.6/site-packages/pymc3/sampling.py in sample(draws, step, init, n_init, start, trace, chain_idx, chains, cores, tune, nuts_kwargs, step_kwargs, progressbar, model, random_seed, live_plot, discard_tuned_samples, live_plot_kwargs, compute_convergence_checks, use_mmap, **kwargs)
    440         _print_step_hierarchy(step)
    441         try:
--> 442             trace = _mp_sample(**sample_args)
    443         except pickle.PickleError:
    444             _log.warning("Could not pickle model, sampling singlethreaded.")```
```

But now that joblib uses cloudpickle the error you get is a `TypeError`. Not 100% sure what's the best way to fix that, maybe catch all errors produced by cloudpickle.dump and reraise a PickleError?
diff --git a/joblib/test/test_parallel.py b/joblib/test/test_parallel.py
index bdb6b42..3ec929c 100644
--- a/joblib/test/test_parallel.py
+++ b/joblib/test/test_parallel.py
@@ -14,6 +14,7 @@ import threading
 from traceback import format_exception
 from math import sqrt
 from time import sleep
+from pickle import PicklingError
 from multiprocessing import TimeoutError
 
 import joblib
@@ -28,14 +29,8 @@ from joblib._compat import PY3_OR_LATER, PY27
 
 try:
     import cPickle as pickle
-    PickleError = TypeError
 except ImportError:
     import pickle
-    PickleError = pickle.PicklingError
-
-
-if PY3_OR_LATER:
-    PickleError = pickle.PicklingError
 
 try:
     from queue import Queue
@@ -291,11 +286,11 @@ def test_parallel_pickling():
     """ Check that pmap captures the errors when it is passed an object
         that cannot be pickled.
     """
-    class UnpicklableObject:
+    class UnpicklableObject(object):
         def __reduce__(self):
             raise RuntimeError()
 
-    with raises(RuntimeError):
+    with raises(PicklingError):
         Parallel(n_jobs=2)(delayed(id)(UnpicklableObject()) for _ in range(10))
 
 

pip install -e .
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-timeout codecov
3.6
continuous_integration/appveyor/requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
certifi==2021.5.30
charset-normalizer==2.0.12
codecov==2.1.13
coverage==6.2
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
-e git+https://github.com/joblib/joblib.git@bb027ab7dfd01ce618c04a9bbac12f7fa1fe2857#egg=joblib
lz4==3.1.10
numpy==1.19.5
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
pytest-cov==4.0.0
pytest-timeout==2.1.0
requests==2.27.1
tomli==1.2.3
typing_extensions==4.1.1
urllib3==1.26.20
zipp==3.6.0

name: joblib
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - charset-normalizer==2.0.12
      - codecov==2.1.13
      - coverage==6.2
      - idna==3.10
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - lz4==3.1.10
      - numpy==1.19.5
      - packaging==21.3
      - pluggy==1.0.0
      - py==1.11.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytest-cov==4.0.0
      - pytest-timeout==2.1.0
      - requests==2.27.1
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - urllib3==1.26.20
      - zipp==3.6.0
prefix: /opt/conda/envs/joblib

joblib/test/test_parallel.py::test_parallel_pickling
joblib/test/test_parallel.py::test_cpu_count joblib/test/test_parallel.py::test_effective_n_jobs joblib/test/test_parallel.py::test_simple_parallel[2-1-None] joblib/test/test_parallel.py::test_simple_parallel[2-1-loky] joblib/test/test_parallel.py::test_simple_parallel[2-1-multiprocessing] joblib/test/test_parallel.py::test_simple_parallel[2-1-sequential] joblib/test/test_parallel.py::test_simple_parallel[2-1-threading] joblib/test/test_parallel.py::test_simple_parallel[2-1-backend5] joblib/test/test_parallel.py::test_simple_parallel[2-1-backend6] joblib/test/test_parallel.py::test_simple_parallel[2-1-backend7] joblib/test/test_parallel.py::test_simple_parallel[2-1-backend8] joblib/test/test_parallel.py::test_simple_parallel[2-1-backend9] joblib/test/test_parallel.py::test_simple_parallel[2-2-None] joblib/test/test_parallel.py::test_simple_parallel[2-2-loky] joblib/test/test_parallel.py::test_simple_parallel[2-2-multiprocessing] joblib/test/test_parallel.py::test_simple_parallel[2-2-sequential] joblib/test/test_parallel.py::test_simple_parallel[2-2-threading] joblib/test/test_parallel.py::test_simple_parallel[2-2-backend5] joblib/test/test_parallel.py::test_simple_parallel[2-2-backend6] joblib/test/test_parallel.py::test_simple_parallel[2-2-backend7] joblib/test/test_parallel.py::test_simple_parallel[2-2-backend8] joblib/test/test_parallel.py::test_simple_parallel[2-2-backend9] joblib/test/test_parallel.py::test_simple_parallel[2--1-None] joblib/test/test_parallel.py::test_simple_parallel[2--1-loky] joblib/test/test_parallel.py::test_simple_parallel[2--1-multiprocessing] joblib/test/test_parallel.py::test_simple_parallel[2--1-sequential] joblib/test/test_parallel.py::test_simple_parallel[2--1-threading] joblib/test/test_parallel.py::test_simple_parallel[2--1-backend5] joblib/test/test_parallel.py::test_simple_parallel[2--1-backend6] joblib/test/test_parallel.py::test_simple_parallel[2--1-backend7] joblib/test/test_parallel.py::test_simple_parallel[2--1-backend8] joblib/test/test_parallel.py::test_simple_parallel[2--1-backend9] joblib/test/test_parallel.py::test_simple_parallel[2--2-None] joblib/test/test_parallel.py::test_simple_parallel[2--2-loky] joblib/test/test_parallel.py::test_simple_parallel[2--2-multiprocessing] joblib/test/test_parallel.py::test_simple_parallel[2--2-sequential] joblib/test/test_parallel.py::test_simple_parallel[2--2-threading] joblib/test/test_parallel.py::test_simple_parallel[2--2-backend5] joblib/test/test_parallel.py::test_simple_parallel[2--2-backend6] joblib/test/test_parallel.py::test_simple_parallel[2--2-backend7] joblib/test/test_parallel.py::test_simple_parallel[2--2-backend8] joblib/test/test_parallel.py::test_simple_parallel[2--2-backend9] joblib/test/test_parallel.py::test_simple_parallel[11-1-None] joblib/test/test_parallel.py::test_simple_parallel[11-1-loky] joblib/test/test_parallel.py::test_simple_parallel[11-1-multiprocessing] joblib/test/test_parallel.py::test_simple_parallel[11-1-sequential] joblib/test/test_parallel.py::test_simple_parallel[11-1-threading] joblib/test/test_parallel.py::test_simple_parallel[11-1-backend5] joblib/test/test_parallel.py::test_simple_parallel[11-1-backend6] joblib/test/test_parallel.py::test_simple_parallel[11-1-backend7] joblib/test/test_parallel.py::test_simple_parallel[11-1-backend8] joblib/test/test_parallel.py::test_simple_parallel[11-1-backend9] joblib/test/test_parallel.py::test_simple_parallel[11-2-None] joblib/test/test_parallel.py::test_simple_parallel[11-2-loky] joblib/test/test_parallel.py::test_simple_parallel[11-2-multiprocessing] joblib/test/test_parallel.py::test_simple_parallel[11-2-sequential] joblib/test/test_parallel.py::test_simple_parallel[11-2-threading] joblib/test/test_parallel.py::test_simple_parallel[11-2-backend5] joblib/test/test_parallel.py::test_simple_parallel[11-2-backend6] joblib/test/test_parallel.py::test_simple_parallel[11-2-backend7] joblib/test/test_parallel.py::test_simple_parallel[11-2-backend8] joblib/test/test_parallel.py::test_simple_parallel[11-2-backend9] joblib/test/test_parallel.py::test_simple_parallel[11--1-None] joblib/test/test_parallel.py::test_simple_parallel[11--1-loky] joblib/test/test_parallel.py::test_simple_parallel[11--1-multiprocessing] joblib/test/test_parallel.py::test_simple_parallel[11--1-sequential] joblib/test/test_parallel.py::test_simple_parallel[11--1-threading] joblib/test/test_parallel.py::test_simple_parallel[11--1-backend5] joblib/test/test_parallel.py::test_simple_parallel[11--1-backend6] joblib/test/test_parallel.py::test_simple_parallel[11--1-backend7] joblib/test/test_parallel.py::test_simple_parallel[11--1-backend8] joblib/test/test_parallel.py::test_simple_parallel[11--1-backend9] joblib/test/test_parallel.py::test_simple_parallel[11--2-None] joblib/test/test_parallel.py::test_simple_parallel[11--2-loky] joblib/test/test_parallel.py::test_simple_parallel[11--2-multiprocessing] joblib/test/test_parallel.py::test_simple_parallel[11--2-sequential] joblib/test/test_parallel.py::test_simple_parallel[11--2-threading] joblib/test/test_parallel.py::test_simple_parallel[11--2-backend5] joblib/test/test_parallel.py::test_simple_parallel[11--2-backend6] joblib/test/test_parallel.py::test_simple_parallel[11--2-backend7] joblib/test/test_parallel.py::test_simple_parallel[11--2-backend8] joblib/test/test_parallel.py::test_simple_parallel[11--2-backend9] joblib/test/test_parallel.py::test_simple_parallel[100-1-None] joblib/test/test_parallel.py::test_simple_parallel[100-1-loky] joblib/test/test_parallel.py::test_simple_parallel[100-1-multiprocessing] joblib/test/test_parallel.py::test_simple_parallel[100-1-sequential] joblib/test/test_parallel.py::test_simple_parallel[100-1-threading] joblib/test/test_parallel.py::test_simple_parallel[100-1-backend5] joblib/test/test_parallel.py::test_simple_parallel[100-1-backend6] joblib/test/test_parallel.py::test_simple_parallel[100-1-backend7] joblib/test/test_parallel.py::test_simple_parallel[100-1-backend8] joblib/test/test_parallel.py::test_simple_parallel[100-1-backend9] joblib/test/test_parallel.py::test_simple_parallel[100-2-None] joblib/test/test_parallel.py::test_simple_parallel[100-2-loky] joblib/test/test_parallel.py::test_simple_parallel[100-2-multiprocessing] joblib/test/test_parallel.py::test_simple_parallel[100-2-sequential] joblib/test/test_parallel.py::test_simple_parallel[100-2-threading] joblib/test/test_parallel.py::test_simple_parallel[100-2-backend5] joblib/test/test_parallel.py::test_simple_parallel[100-2-backend6] joblib/test/test_parallel.py::test_simple_parallel[100-2-backend7] joblib/test/test_parallel.py::test_simple_parallel[100-2-backend8] joblib/test/test_parallel.py::test_simple_parallel[100-2-backend9] joblib/test/test_parallel.py::test_simple_parallel[100--1-None] joblib/test/test_parallel.py::test_simple_parallel[100--1-loky] joblib/test/test_parallel.py::test_simple_parallel[100--1-multiprocessing] joblib/test/test_parallel.py::test_simple_parallel[100--1-sequential] joblib/test/test_parallel.py::test_simple_parallel[100--1-threading] joblib/test/test_parallel.py::test_simple_parallel[100--1-backend5] joblib/test/test_parallel.py::test_simple_parallel[100--1-backend6] joblib/test/test_parallel.py::test_simple_parallel[100--1-backend7] joblib/test/test_parallel.py::test_simple_parallel[100--1-backend8] joblib/test/test_parallel.py::test_simple_parallel[100--1-backend9] joblib/test/test_parallel.py::test_simple_parallel[100--2-None] joblib/test/test_parallel.py::test_simple_parallel[100--2-loky] joblib/test/test_parallel.py::test_simple_parallel[100--2-multiprocessing] joblib/test/test_parallel.py::test_simple_parallel[100--2-sequential] joblib/test/test_parallel.py::test_simple_parallel[100--2-threading] joblib/test/test_parallel.py::test_simple_parallel[100--2-backend5] joblib/test/test_parallel.py::test_simple_parallel[100--2-backend6] joblib/test/test_parallel.py::test_simple_parallel[100--2-backend7] joblib/test/test_parallel.py::test_simple_parallel[100--2-backend8] joblib/test/test_parallel.py::test_simple_parallel[100--2-backend9] joblib/test/test_parallel.py::test_main_thread_renamed_no_warning[None] joblib/test/test_parallel.py::test_main_thread_renamed_no_warning[loky] joblib/test/test_parallel.py::test_main_thread_renamed_no_warning[multiprocessing] joblib/test/test_parallel.py::test_main_thread_renamed_no_warning[sequential] joblib/test/test_parallel.py::test_main_thread_renamed_no_warning[threading] joblib/test/test_parallel.py::test_main_thread_renamed_no_warning[backend5] joblib/test/test_parallel.py::test_main_thread_renamed_no_warning[backend6] joblib/test/test_parallel.py::test_main_thread_renamed_no_warning[backend7] joblib/test/test_parallel.py::test_main_thread_renamed_no_warning[backend8] joblib/test/test_parallel.py::test_main_thread_renamed_no_warning[backend9] joblib/test/test_parallel.py::test_nested_parallel_warnings[loky-multiprocessing-True] joblib/test/test_parallel.py::test_nested_parallel_warnings[loky-loky-False] joblib/test/test_parallel.py::test_nested_parallel_warnings[multiprocessing-multiprocessing-True] joblib/test/test_parallel.py::test_nested_parallel_warnings[multiprocessing-loky-True] joblib/test/test_parallel.py::test_nested_parallel_warnings[threading-multiprocessing-True] joblib/test/test_parallel.py::test_nested_parallel_warnings[threading-loky-True] joblib/test/test_parallel.py::test_nested_loop[multiprocessing-multiprocessing] joblib/test/test_parallel.py::test_nested_loop[multiprocessing-threading] joblib/test/test_parallel.py::test_nested_loop[multiprocessing-sequential] joblib/test/test_parallel.py::test_nested_loop[multiprocessing-loky] joblib/test/test_parallel.py::test_nested_loop[threading-multiprocessing] joblib/test/test_parallel.py::test_nested_loop[threading-threading] joblib/test/test_parallel.py::test_nested_loop[threading-sequential] joblib/test/test_parallel.py::test_nested_loop[threading-loky] joblib/test/test_parallel.py::test_nested_loop[sequential-multiprocessing] joblib/test/test_parallel.py::test_nested_loop[sequential-threading] joblib/test/test_parallel.py::test_nested_loop[sequential-sequential] joblib/test/test_parallel.py::test_nested_loop[sequential-loky] joblib/test/test_parallel.py::test_nested_loop[loky-multiprocessing] joblib/test/test_parallel.py::test_nested_loop[loky-threading] joblib/test/test_parallel.py::test_nested_loop[loky-sequential] joblib/test/test_parallel.py::test_nested_loop[loky-loky] joblib/test/test_parallel.py::test_mutate_input_with_threads joblib/test/test_parallel.py::test_parallel_kwargs[1] joblib/test/test_parallel.py::test_parallel_kwargs[2] joblib/test/test_parallel.py::test_parallel_kwargs[3] joblib/test/test_parallel.py::test_parallel_as_context_manager[multiprocessing] joblib/test/test_parallel.py::test_parallel_as_context_manager[loky] joblib/test/test_parallel.py::test_parallel_as_context_manager[threading] joblib/test/test_parallel.py::test_parallel_timeout_success[multiprocessing] joblib/test/test_parallel.py::test_parallel_timeout_success[loky] joblib/test/test_parallel.py::test_parallel_timeout_success[threading] joblib/test/test_parallel.py::test_parallel_timeout_fail[multiprocessing] joblib/test/test_parallel.py::test_parallel_timeout_fail[loky] joblib/test/test_parallel.py::test_parallel_timeout_fail[threading] joblib/test/test_parallel.py::test_error_capture[multiprocessing] joblib/test/test_parallel.py::test_error_capture[loky] joblib/test/test_parallel.py::test_dispatch_one_job[1-expected_queue0-multiprocessing] joblib/test/test_parallel.py::test_dispatch_one_job[1-expected_queue0-threading] joblib/test/test_parallel.py::test_dispatch_one_job[1-expected_queue0-sequential] joblib/test/test_parallel.py::test_dispatch_one_job[1-expected_queue0-loky] joblib/test/test_parallel.py::test_dispatch_one_job[4-expected_queue1-multiprocessing] joblib/test/test_parallel.py::test_dispatch_one_job[4-expected_queue1-threading] joblib/test/test_parallel.py::test_dispatch_one_job[4-expected_queue1-sequential] joblib/test/test_parallel.py::test_dispatch_one_job[4-expected_queue1-loky] joblib/test/test_parallel.py::test_dispatch_multiprocessing[multiprocessing] joblib/test/test_parallel.py::test_dispatch_multiprocessing[loky] joblib/test/test_parallel.py::test_dispatch_multiprocessing[threading] joblib/test/test_parallel.py::test_batching_auto_threading joblib/test/test_parallel.py::test_batching_auto_subprocesses[multiprocessing] joblib/test/test_parallel.py::test_batching_auto_subprocesses[loky] joblib/test/test_parallel.py::test_exception_dispatch joblib/test/test_parallel.py::test_nested_exception_dispatch[loky] joblib/test/test_parallel.py::test_nested_exception_dispatch[multiprocessing] joblib/test/test_parallel.py::test_nested_exception_dispatch[threading] joblib/test/test_parallel.py::test_multiple_spawning joblib/test/test_parallel.py::test_invalid_backend joblib/test/test_parallel.py::test_invalid_njobs[None] joblib/test/test_parallel.py::test_invalid_njobs[loky] joblib/test/test_parallel.py::test_invalid_njobs[multiprocessing] joblib/test/test_parallel.py::test_invalid_njobs[sequential] joblib/test/test_parallel.py::test_invalid_njobs[threading] joblib/test/test_parallel.py::test_invalid_njobs[backend5] joblib/test/test_parallel.py::test_invalid_njobs[backend6] joblib/test/test_parallel.py::test_invalid_njobs[backend7] joblib/test/test_parallel.py::test_invalid_njobs[backend8] joblib/test/test_parallel.py::test_invalid_njobs[backend9] joblib/test/test_parallel.py::test_register_parallel_backend joblib/test/test_parallel.py::test_overwrite_default_backend joblib/test/test_parallel.py::test_backend_context_manager[multiprocessing] joblib/test/test_parallel.py::test_backend_context_manager[loky] joblib/test/test_parallel.py::test_backend_context_manager[threading] joblib/test/test_parallel.py::test_backend_context_manager[test_backend_0] joblib/test/test_parallel.py::test_backend_context_manager[test_backend_1] joblib/test/test_parallel.py::test_backend_context_manager[test_backend_2] joblib/test/test_parallel.py::test_parameterized_backend_context_manager joblib/test/test_parallel.py::test_direct_parameterized_backend_context_manager joblib/test/test_parallel.py::test_nested_backend_context_manager joblib/test/test_parallel.py::test_retrieval_context joblib/test/test_parallel.py::test_joblib_exception joblib/test/test_parallel.py::test_safe_function joblib/test/test_parallel.py::test_invalid_batch_size[0] joblib/test/test_parallel.py::test_invalid_batch_size[-1] joblib/test/test_parallel.py::test_invalid_batch_size[1.42] joblib/test/test_parallel.py::test_dispatch_race_condition[2-2-all-auto] joblib/test/test_parallel.py::test_dispatch_race_condition[2-2-n_jobs-auto] joblib/test/test_parallel.py::test_dispatch_race_condition[10-2-n_jobs-auto0] joblib/test/test_parallel.py::test_dispatch_race_condition[517-2-n_jobs-auto] joblib/test/test_parallel.py::test_dispatch_race_condition[10-2-n_jobs-auto1] joblib/test/test_parallel.py::test_dispatch_race_condition[10-4-n_jobs-auto] joblib/test/test_parallel.py::test_dispatch_race_condition[200-12-n_jobs-auto] joblib/test/test_parallel.py::test_dispatch_race_condition[25-12-2 joblib/test/test_parallel.py::test_dispatch_race_condition[250-12-all-1] joblib/test/test_parallel.py::test_dispatch_race_condition[250-12-2 joblib/test/test_parallel.py::test_dispatch_race_condition[200-12-2 joblib/test/test_parallel.py::test_default_mp_context joblib/test/test_parallel.py::test_no_blas_crash_or_freeze_with_subprocesses[multiprocessing] joblib/test/test_parallel.py::test_no_blas_crash_or_freeze_with_subprocesses[loky] joblib/test/test_parallel.py::test_parallel_with_interactively_defined_functions[multiprocessing] joblib/test/test_parallel.py::test_parallel_with_interactively_defined_functions[loky] joblib/test/test_parallel.py::test_parallel_with_interactively_defined_functions[spawn] joblib/test/test_parallel.py::test_parallel_with_unpicklable_functions_in_args[delayed-def joblib/test/test_parallel.py::test_parallel_with_unpicklable_functions_in_args[delayed-square joblib/test/test_parallel.py::test_parallel_with_unpicklable_functions_in_args[args-def joblib/test/test_parallel.py::test_parallel_with_unpicklable_functions_in_args[args-square joblib/test/test_parallel.py::test_parallel_with_unpicklable_functions_in_args[kwargs-def joblib/test/test_parallel.py::test_parallel_with_unpicklable_functions_in_args[kwargs-square joblib/test/test_parallel.py::test_parallel_with_interactively_defined_functions_default_backend joblib/test/test_parallel.py::test_parallel_with_exhausted_iterator joblib/test/test_parallel.py::test_auto_memmap_on_arrays_from_generator[multiprocessing] joblib/test/test_parallel.py::test_auto_memmap_on_arrays_from_generator[loky] joblib/test/test_parallel.py::test_memmap_with_big_offset joblib/test/test_parallel.py::test_warning_about_timeout_not_supported_by_backend joblib/test/test_parallel.py::test_abort_backend[1-None] joblib/test/test_parallel.py::test_abort_backend[1-loky] joblib/test/test_parallel.py::test_abort_backend[1-multiprocessing] joblib/test/test_parallel.py::test_abort_backend[1-sequential] joblib/test/test_parallel.py::test_abort_backend[1-threading] joblib/test/test_parallel.py::test_abort_backend[1-backend5] joblib/test/test_parallel.py::test_abort_backend[1-backend6] joblib/test/test_parallel.py::test_abort_backend[1-backend7] joblib/test/test_parallel.py::test_abort_backend[1-backend8] joblib/test/test_parallel.py::test_abort_backend[1-backend9] joblib/test/test_parallel.py::test_abort_backend[2-None] joblib/test/test_parallel.py::test_abort_backend[2-loky] joblib/test/test_parallel.py::test_abort_backend[2-multiprocessing] joblib/test/test_parallel.py::test_abort_backend[2-sequential] joblib/test/test_parallel.py::test_abort_backend[2-threading] joblib/test/test_parallel.py::test_abort_backend[2-backend5] joblib/test/test_parallel.py::test_abort_backend[2-backend6] joblib/test/test_parallel.py::test_abort_backend[2-backend7] joblib/test/test_parallel.py::test_abort_backend[2-backend8] joblib/test/test_parallel.py::test_abort_backend[2-backend9] joblib/test/test_parallel.py::test_abort_backend[-2-None] joblib/test/test_parallel.py::test_abort_backend[-2-loky] joblib/test/test_parallel.py::test_abort_backend[-2-multiprocessing] joblib/test/test_parallel.py::test_abort_backend[-2-sequential] joblib/test/test_parallel.py::test_abort_backend[-2-threading] joblib/test/test_parallel.py::test_abort_backend[-2-backend5] joblib/test/test_parallel.py::test_abort_backend[-2-backend6] joblib/test/test_parallel.py::test_abort_backend[-2-backend7] joblib/test/test_parallel.py::test_abort_backend[-2-backend8] joblib/test/test_parallel.py::test_abort_backend[-2-backend9] joblib/test/test_parallel.py::test_abort_backend[-1-None] joblib/test/test_parallel.py::test_abort_backend[-1-loky] joblib/test/test_parallel.py::test_abort_backend[-1-multiprocessing] joblib/test/test_parallel.py::test_abort_backend[-1-sequential] joblib/test/test_parallel.py::test_abort_backend[-1-threading] joblib/test/test_parallel.py::test_abort_backend[-1-backend5] joblib/test/test_parallel.py::test_abort_backend[-1-backend6] joblib/test/test_parallel.py::test_abort_backend[-1-backend7] joblib/test/test_parallel.py::test_abort_backend[-1-backend8] joblib/test/test_parallel.py::test_abort_backend[-1-backend9] joblib/test/test_parallel.py::test_memmapping_leaks[multiprocessing] joblib/test/test_parallel.py::test_memmapping_leaks[loky] joblib/test/test_parallel.py::test_lambda_expression joblib/test/test_parallel.py::test_delayed_check_pickle_deprecated joblib/test/test_parallel.py::test_backend_batch_statistics_reset[multiprocessing] joblib/test/test_parallel.py::test_backend_batch_statistics_reset[loky] joblib/test/test_parallel.py::test_backend_hinting_and_constraints joblib/test/test_parallel.py::test_backend_hinting_and_constraints_with_custom_backends joblib/test/test_parallel.py::test_invalid_backend_hinting_and_constraints joblib/test/test_parallel.py::test_global_parallel_backend joblib/test/test_parallel.py::test_external_backends joblib/test/test_parallel.py::test_nested_parallel_limit[loky] joblib/test/test_parallel.py::test_nested_parallel_limit[threading] joblib/test/test_parallel.py::test_thread_bomb_mitigation[loky] joblib/test/test_parallel.py::test_thread_bomb_mitigation[threading]
joblib/externals/loky/process_executor.py joblib/externals/loky/__init__.py joblib/externals/loky/backend/utils.py
joblib/externals/loky/process_executor.py joblib/externals/loky/__init__.py joblib/externals/loky/backend/utils.py