Source

dogpile.cache / dogpile / cache / region.py

Author Commit Message Labels Comments Date
Gilles
Updated per pull request #13 comments Use NO_VALUE to not cache result instead of cache_none=False
Branches
no_cache_none
Gilles
Don't cache None Added the possibility to not cache None values
Branches
no_cache_none
Mike Bayer
fix formatting, make more succinct
jvan...@104.1.168.192.in-addr.arpa
Documentation fix to address points in closed issues 6,12
Mike Bayer
- version bump - changelog - bump dogpile.core dependency
Ralph Bean
Flattened the userland async_creation_runner.
Ralph Bean
Rework background_runner as async_creator_factory.
Ralph Bean
Rename example background runner's 'creator' to 'gen_value'.
Ralph Bean
Rename threaded_creation to background_runner. Add docs.
Ralph Bean
Expose the threaded_creation argument through to dogpile.core. This relies on https://bitbucket.org/zzzeek/dogpile.core/pull-request/2
Mike Bayer
doc cleanup, add the versionadded
Mike Bayer
- rename cache_for() to set() - changelog - also had the "change" directive wrong in changelog - test for decorated_fn.set() wasn't looking for correct assertion?
Antoine Bertin
Put the value to cache as first positional argument of cache_for
Branches
cache_for
Antoine Bertin
Add a cache_for method
Branches
cache_for
Mike Bayer
and another one...
Tags
rel_0_4_0
Mike Bayer
don't need this note here, expiration_time is now local to the dogpile.Lock object
Mike Bayer
- [bug] Using dogpile.core 0.4.0 now, fixes a critical bug whereby dogpile pileup could occur on first value get across multiple processes, due to reliance upon a non-shared creation time. This is dogpile.core issue #1.
Gunnlaugur Þór Briem
Import with statement for Python 2.5 compat
Branches
py25compat
Mike Bayer
whitespace removal
Mike Bayer
add a note about expiration time being local only, #9
Tags
rel_0_3_0
Mike Bayer
- [bug] Fixed bug whereby region.get() didn't work if the value wasn't present. #8 - 100% coverage for region.py (even though coverage alone wasn't enough for #8)
Mike Bayer
- get() method now checks expiration time by default. Use ignore_expiration=True to bypass this. - Added new invalidate() method. Sets the current timestamp as a minimum value that all retrieved values must be created after. Is honored by the get_or_create() and get() methods. #7
Mike Bayer
- Add support for coercion of string config values to Python objects - ints, "false", "true", "None". #4
Mike Bayer
add a note about get_or_create() expiration_time.
Mike Bayer
- move tests into tests.cache namespace - implement py3k cross-compatibility
Mike Bayer
renamed dogpile to dogpile.core
goschtl
added a test for configure_from_config
Mike Bayer
- some doc updates and fixes
Mike Bayer
- make the created_time and version keys small
Mike Bayer
fix doc
  1. Prev
  2. 1
  3. 2
  4. Next