Crochet

Latest version: v2.1.1

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

Scan your dependencies

Page 2 of 4

1.8.0

^^^^^

New features:

* Signatures on decorated functions now match the original functions.
Thanks to Mikhail Terekhov for the original patch.
* Documentation improvements, including an API reference.

Bug fixes:

* Switched to EPoll reactor for logging thread.
Anecdotal evidence suggests this fixes some issues on AWS Lambda, but it's not clear why.
Thanks to Rolando Espinoza for the patch.
* It's now possible to call ``run_in_reactor`` and ``wait_for`` above a ``classmethod``.
Thanks to vak for the bug report.

1.7.0

^^^^^

Bug fixes:

* If the Python ``logging.Handler`` throws an exception Crochet no longer goes into a death spiral.
Thanks to Michael Schlenker for the bug report.

Removed features:

* Versions of Twisted < 16.0 are no longer supported (i.e. no longer tested in CI.)

1.6.0

^^^^^

New features:

* Added support for Python 3.6.

1.5.0

^^^^^

New features:

* Added support for Python 3.5.

Removed features:

* Python 2.6, Python 3.3, and versions of Twisted < 15.0 are no longer supported.

1.4.0

^^^^^

New features:

* Added support for Python 3.4.

Documentation:

* Added a section on known issues and workarounds.

Bug fixes:

* Main thread detection (used to determine when Crochet should shutdown) is now less fragile.
This means Crochet now supports more environments, e.g. uWSGI.
Thanks to Ben Picolo for the patch.

1.3.0

^^^^^

Bug fixes:

* It is now possible to call ``EventualResult.wait()`` (or functions
wrapped in ``wait_for``) at import time if another thread holds the
import lock. Thanks to Ken Struys for the patch.

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.