Crochet

Latest version: v2.1.1

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

Scan your dependencies

Page 1 of 4

2.1.0

^^^^^

* Various internal modernizations and maintenance.
* Dropped Python 3.6 and 3.7 support.

2.0.0

^^^^^

New features:

* It's possible to decorate ``async/await`` Twisted functions with ``wait_for`` and ``run_in_reactor``, thanks to Árni Már Jónsson.
* Added type hints, thanks to Merlin Davis.
* Added formal support for Python 3.9.


Removed features:

* Dropped the deprecated APIs ``wait_for_reactor``, ``in_reactor``, ``DeferredResult``, the ``wrapped_function`` attribute, and unlimited timeouts on ``EventualResult.wait()``.
* Dropped support for Python 2.7 and 3.5.

1.12.0

^^^^^^

Bug fixes:

* Fix a timeout overflow bug in 32-bit machines.

1.11.0

^^^^^^

New features:

* Added support for Python 3.8 and PyPy 3.

Backwards incompatibility:

* Dropped support for Python 3.4, since latest Twisted doesn't support it.

1.10.0

^^^^^^

New features:

* Added support for Python 3.7. Thanks to Jeremy Cline for the patch.

1.9.0

^^^^^

New features:

* The underlying callable wrapped ``run_in_reactor`` and ``wait_for`` is now available via the more standard ``__wrapped__`` attribute.

Backwards incompatibility (in tests):

* This was actually introduced in 1.8.0: ``wrapped_function`` may not always be available on decorated callables.
You should use ``__wrapped__`` instead.

Bug fixes:

* Fixed regression in 1.8.0 where bound method couldn't be wrapped.
Thanks to 2mf for the bug report.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.