Executor

Latest version: v23.1

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

Scan your dependencies

Page 3 of 18

19.1

----------------------------

Added ``context.is_executable()`` shortcut.

.. _Release 19.1: https://github.com/xolox/python-executor/compare/19.0...19.1

19.0

----------------------------

Backwards incompatible: Report command output on failure.

Refer to the new ``really_silent`` property for details about how this is
backwards incompatible. I suspect this to bite less than 1% of use cases
and I want `executor` to have sane defaults, so there :-).

.. _Release 19.0: https://github.com/xolox/python-executor/compare/18.1...19.0

18.1

----------------------------

- Enable runtime processing of stdin/stdout/stderr (`7`_).
- Enable iteration over lines of text in output (related to `7`_).
- Changed the Sphinx documentation theme.
- Fixed a broken reStructuredText reference.

.. _Release 18.1: https://github.com/xolox/python-executor/compare/18.0...18.1
.. _7: https://github.com/xolox/python-executor/issues/7

18.0

----------------------------

Several backwards incompatible changes were made in an attempt to improve the
consistency of error handling:

- Bug fix: Set returncode on OSError exception
- Bug fix: Don't leave std{out,err} unset on OSError
- Don't raise exceptions from lsb_release shortcuts.
- Update usage in readme.
- Move test helpers to ``humanfriendly.testing``.

.. _Release 18.0: https://github.com/xolox/python-executor/compare/17.1...18.0

17.1

----------------------------

Added support for Python callbacks in ``context.cleanup()``.

.. _Release 17.1: https://github.com/xolox/python-executor/compare/17.0...17.1

17.0

----------------------------

- Rename ``ChangeRoot*`` to ``SecureChangeRoot*`` to avoid an upcoming name collision (backwards incompatible!).
- Added support for command execution in chroots using the ``chroot`` command.
- Reduced code duplication of ``&&`` logic.

.. _Release 17.0: https://github.com/xolox/python-executor/compare/16.1...17.0

Page 3 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.