Loky

Latest version: v3.4.1

Safety actively analyzes 628477 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 7

2.2.2

- Add a `set_start_method` function in `loky.backend.context`. Note
that now, `loky` does not respect the start method set using
`multiprocessing.set_start_method` anymore. It is thus mandatory
to use the `loky` function to have the correct behavior.

2.2.1

- Fix pickling logic in loky. Now the serialization is consistent
between initializer and tasks. Also fixes the logic behind the
environment variable `LOKY_PICKLER`.

- Improve reporting for tasks unpickling errors.

- Fix deadlock when large objects are sent to workers.

- Fix context and `start_method` logic for loky contexts.

2.2.0

- Add a protection against memory-leaks for long running worker
processes: if the memory usage has increased by more than 100 MB
(after a garbage collection), the worker is automatically restarted
before accepting new tasks. This protection is only active when psutil
is installed.

- psutil is now a soft-dependency of loky: it is used to recursively
terminate children processes when available but there is a fallback
for windows and all unices with pgrep installed otherwise.

2.1.4

- Fix win32 failure to kill worker process with taskkill returning 255
- Fix all error at pickle raise PicklingError
- Add missing license file

2.1.3

- Fix bad interaction between `max_workers=None` and `reuse='auto'` (132).
- Add initializer for `get_reusable_executor` (134)

2.1.2

- Fix terminate for nested processes
- Fix support for windows freezed application
- Fix some internal API inconsistencies

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.