Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
0.5.0
Tags
rel_0_5_0
Mike Bayer
formatting
Mike Bayer
whitespace...
Mike Bayer
- can't coerce to unicode key by default because cache backends like DBM don't accept unicode keys in Python 2.x. So instead have added a new argument ``to_str`` which will allow the "unicode" function to be substituted. On Py3K this isn't needed.
Mike Bayer
setup for git
Mike Bayer
Added a method ``refresh()`` to functions decorated by :meth:`.CacheRegion.cache_on_arguments` and :meth:`.CacheRegion.cache_multi_on_arguments`, to complement ``invalidate()`` and ``set()``. #36
Mike Bayer
merge
Mike Bayer
changelog
Mike Bayer
Merged in lxyu/dogpile.cache/better_pickle (pull request #26) Use highest protocol for pickle
Mike Bayer
- changelog - tests for unicode keys
Mike Bayer
broken test for incoming pullreq
Mike Bayer
- reorganize the tests here, so everything to do with the decorator is in test_decorator
Lx Yu
use the best protocol for pickle
Lx Yu
fix unicode encode error
Mike Bayer
- add asdict=True argument #35
Mike Bayer
more doc fixes
Mike Bayer
- re-test redis lock, its OK - 0.5.0 version number - some additional document updates, changelog
Mike Bayer
some test fixes
Mike Bayer
- this is 0.5.0 - convert get_multi return value to a list - temporarily replace Redis lock with the old one, need to test more
Mike Bayer
merge refinements to redis backend
Sebastian Hanula
Added function_multi_key_generator keyword argument to CacheRegion to allow customization of key generator in CacheRegion.cache_multi_on_arguments().
Lx Yu
directly use mset/mget/delete method in redis client for multi operation
Lx Yu
refine redis backend lock. - use the lock in redis client instead. - add lock_timeout and lock_sleep arguments support
Mike Bayer
- Added new methods :meth:`.CacheRegion.get_or_create_multi` and :meth:`.CacheRegion.cache_multi_on_arguments`, which make use of the :meth:`.CacheRegion.get_multi` and similar functions to store and retrieve multiple keys at once while maintaining dogpile semantics for each. #33 - fix some py3k identifiers - remove erroneous docstring regarding creator returning NO_VALUE, that change was reverted
Mike Bayer
docs
Mike Bayer
Merged in ijl/dogpile.cache (pull request #20) CacheRegion.configure() accepts a datetime.timedelta object for 'expiration_time', and rejects non-number, non-timedelta objects
Mike Bayer
add an interesting test regarding potential deadlocks for same key called re-entrant
ijl
CacheRegion.configure() accepts a datetime.timedelta object for 'expiration_time', and rejects non-number, non-timedelta objects
Mike Bayer
- changelog for #20 - use py31 compatible callable() - use a ternary, as expiration_time will often be "0" for dynamic
David Beitey
Add ability for expiration_time passed to cache_on_arguments to be dynamic (eg callable called when decorated function is called)
  1. Prev
  2. Next