0.5.5
0.5.5
Released: Wed Jan 21 2015
-
[feature] Added new arguments
CacheRegion.cache_on_arguments.function_key_generatorand
CacheRegion.cache_multi_on_arguments.function_multi_key_generator
which serve as per-decorator replacements for the region-wide
CacheRegion.function_key_generatorand
CacheRegion.function_multi_key_generatorparameters,
respectively, so that custom key production schemes can be applied
on a per-function basis within one region.
Pull request courtesy Hongbin Lu.References: pull request 26
-
[bug] Fixed bug where sending -1 for the
CacheRegion.get_or_create.expiration_timeparameter to
CacheRegion.get_or_create()or
CacheRegion.get_or_create_multi()
would fail to honor the setting as "no expiration time". Pull request
courtesy Hongbin Lu.References: #71, pull request 25
-
[bug] The
wrapargument is now propagated when calling
CacheRegion.configure_from_config(). Pull request courtesy
Jonathan Vanasco.References: #41, pull request 28
-
[bug] Fixed tests under py.test, which were importing a symbol from
pytest itselfis_unittestwhich has been removed.