- Added chainable decorator.
No significant changes.
No significant changes.
- Added
splat
function.
- Removed deprecated 'call_aside'. (#21)
- Enhanced type hints and declare the package as typed. Module is now a package. (#22)
- Restored type checking and repaired broken exclusion. (#50550895)
- Require Python 3.8 or later.
Added bypass_unless
and bypass_when
and identity
.
#21: Renamed call_aside
to invoke
, deprecating call_aside
.
Refreshed packaging.
Packaging refresh.
Enrolled with Tidelift.
- #19: Add type annotations to
method_cache
. - Require Python 3.7.
apply
now uses functools.wraps
to ensure docstring
passthrough.
#18: In method_cache, support cache_clear before cache is initialized.
Refreshed package metadata.
Switched to PEP 420 for jaraco
namespace.
Added except_
decorator.
#14: Removed unnecessary compatibility libraries in testing.
Require Python 3.6 or later.
Switch to pkgutil namespace technique
for the jaraco
namespace.
Added save_method_args
, adopted from irc.functools
.
Added .reset
support to once
.
Add result_invoke
decorator.
Add retry
decorator.
#7: retry_call
now accepts infinity for the retries
parameter.
Refresh packaging.
Fix assign_params on Python 2.
Add assign_params
function.
Add pass_none
decorator function.
Add print_yielded
func implementing the func of the same
name found in autocommand docs.
Issue #6: Added a bit of documentation and xfail tests showing
that the method_cache
can't be used with other decorators
such as property
.
Include dates and links in changelog.
Use Github for continuous deployment to PyPI.
Add retry_call
, a general-purpose function retry mechanism.
See test_functools
for tests and example usage.
More generous handling of missing lru_cache when installed on
Python 2 and older pip. Now all functools except method_cache
will continue to work even if backports.functools_lru_cache
is not installed. Also allows functools32 as a fallback if
available.
Moved hosting to github.
method_cache
now accepts a cache_wrapper parameter, allowing
for custom parameters to an lru_cache
or an entirely different
cache implementation.
Use backports.functools_lru_cache
to provide lru_cache
for
Python 2.
Implement Throttler
as a descriptor so it may be used to decorate
methods. Introduces first_invoke
function.
Fixed failure in Throttler on Python 2 due to improper use of integer division.
Added Throttler
class from irc.
Added call_aside
decorator.
Added apply
decorator.
Initial release drawn from jaraco.util.