NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #456 most downloaded on PyPI
Python promises.
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 3.2 years
Most releases are documented
notes for 12 of 14 stable releases
1 version withdrawn
withdrawn after publishing
11 years old
16 releases · first in 2016
Add a bit of basic documentation by @Anthchirp in #36
Full Changelog: v5.0.0...v5.1.0
One column per quarter.
:release-date: 2023-11-05 2:45 P.M UTC+6:00 :release-by: ASIF SAIF UDDIN
Dropped Python 3.6 support.
Added new Python versions support.
Dropped old dependencies.
Added new GHA based CI.
Added slots support and impproved dynamic assignment.
Contributed by Asif Saif Uddin
.. _version-5.0.0:
Run Windows Build with Tox by @thedrow in #30
:release-date: 2020-09-06 6:10 P.M UTC+3:00 :release-by: Omer Katz
Dropped Python 3.5 support.
Contributed by Omer Katz
.. _version-5.0.0a1:
Bump version: 1.3.0 → 5.0.0a1
Bump version: 1.3.0 → 5.0.0a1
Dropped Python 2.x support.
Contributed by Omer Katz
Dropped Python 3.4 support.
Contributed by Omer Katz
Removed the vine.five module.
Contributed by Omer Katz
Removed the vine.backports.weakref_backports module.
Contributed by Omer Katz
Bump version: 1.2.0 → 1.3.0
Bump version: 1.2.0 → 1.3.0
:release-date: 2019-03-19 11:00 A.M UTC+2 :release-by: Omer Katz
Added the option to ignore the result of a function and simply call the callback without arguments.
Contributed by Omer Katz
.. _version-1.2.0:
Bump version: 1.1.4 → 1.2.0
Bump version: 1.1.4 → 1.2.0
:release-date: 2018-01-06 4:30 P.M UTC+2 :release-by: Omer Katz
Added Python 3.7 support.
Contributed by Jon Dufresne & :github_user:dequis
Handle bound methods in weak reference promise instances.
Contributed by George Psarakis
Documentation fixes, CI adjustments and cleanups by:
.. _version-1.1.4:
Bump version: 1.1.3 → 1.1.4
Bump version: 1.1.3 → 1.1.4
:release-date: 2017-07-16 10:30 P.M UTC+2 :release-by: Ask Solem
.. _version-1.1.3:
Bump version: 1.1.2 → 1.1.3
Bump version: 1.1.2 → 1.1.3
:release-date: 2016-10-13 06:02 P.M PDT :release-by: Ask Solem
promise(fun, weak=True) argument, creates weakref to callback... _version-1.1.2:
Bump version: 1.1.1 → 1.1.2
Bump version: 1.1.1 → 1.1.2
:release-date: 2016-09-07 04:18 P.M PDT :release-by: Ask Solem
.. _version-1.1.1:
Bumps version to 1.1.1 and updates Changelog
Bumps version to 1.1.1 and updates Changelog
:release-date: 2016-06-30 12:05 P.M PDT :release-by: Ask Solem
Requirements: Tests now depends on :pypi:case 1.2.2
Five: python_2_unicode_compatible now ensures __repr__ returns
bytes on Python 2.
.. _version-1.1.0:
Bumps version to 1.1.0 and updates Changelog
Bumps version to 1.1.0 and updates Changelog
promise.throw() now passes partial args/kwargs to the errback:
>>> p = promise(args=(self,), on_error=handle_error) >>> p.throw(exc) # --> handle_error(self, exc)
New vine.abstract.ThenableProxy can be used to add promise-capabilities to a class by forwarding to a different promise.
from vine import promise from vine.abstract import ThenableProxy class P(ThenableProxy): def __init__(self, on_success=None, on_error=None): self._set_promise_target(promise( args=(self,), callback=on_success, on_error=on_error, )) p = P() p.then(download_file(url)).then(extract_file)
promise.throw() now supports a propagate argument that can be set to False to never reraise the exception.
promise.throw() now also reraises the current exception from the stack, if the exc argument is passed and that value is the same as the current exception.
Thenable.register() can now be used as a decorator.
Argument to promise.throw1(exc) can now be None to use the current exception.
monotonic() now uses librt.so.0 as an alternative if librt.so.1 does not exist.
Contributed by Fahad Siddiqui.
:release-date: 2016-04-11 05:30 P.M PDT :release-by: Ask Solem
:release-date: 2016-04-11 05:30 P.M PDT :release-by: Ask Solem
promise.throw() now supports second traceback argument to
throw exception with specific traceback.
Contributed by Ionel Cristian Mărieș.
.. _version-1.0.1:
:release-date: 2016-04-11 03:00 P.M PDT :release-by: Ask Solem
:release-date: 2016-04-11 03:00 P.M PDT :release-by: Ask Solem
.. _version-1.0.0:
:release-date: 2016-04-07 06:02 P.M PDT :release-by: Ask Solem
:release-date: 2016-04-07 06:02 P.M PDT :release-by: Ask Solem
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →