Skip to content

0.5.3

Choose a tag to compare

@sqla-tester sqla-tester released this 20 Sep 19:10

0.5.3

Released: Wed Jan 8 2014

  • [bug] Fixed bug where the key_mangler would get in the way of usage of the
    async_creation_runner feature within the Region.get_or_create()
    method, by sending in the mangled key instead of the original key. The
    "mangled" key is only supposed to be exposed within the backend storage,
    not the creation function which sends the key back into the Region.set(),
    which does the mangling itself. Pull request courtesy Ryan Kolak.

    References: pull request 10

  • [bug] [py3k] Fixed bug where the Region.get_multi() method wasn't calling
    the backend correctly in Py3K (e.g. was passing a destructive map()
    object) which would cause this method to fail on the memcached backend.

  • [feature] Added a get() method to complement the set(), invalidate()
    and refresh() methods established on functions decorated by
    CacheRegion.cache_on_arguments() and
    CacheRegion.cache_multi_on_arguments(). Pullreq courtesy
    Eric Hanchrow.

    References: #55

  • [feature] Added a new variant on MemoryBackend, MemoryPickleBackend.
    This backend applies pickle.dumps() and pickle.loads() to cached
    values upon set and get, so that similar copy-on-cache behavior as that
    of other backends is employed, guarding cached values against subsequent
    in-memory state changes. Pullreq courtesy Jonathan Vanasco.

    References: #51, pull request 11

  • [bug] Fixed a format call in the redis backend which would otherwise fail
    on Python 2.6; courtesy Jeff Dairiki.

    References: pull request 9