Changeset 671 for branches


Ignore:
Timestamp:
05/29/13 20:34:46 (3 years ago)
Author:
mmckerns
Message:

fix: correct imports of _CacheInfo in memoize;
have test_cached use memoize.memoize

Location:
branches/decorate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/decorate/memoize.py

    r669 r671  
    66from mystic.cache.archives import archive_dict 
    77from mystic.cache.keymaps import stringmap 
    8 from mystic.cache import _CacheInfo, inf_cache 
     8from mystic.cache import inf_cache 
     9from mystic.cache._cache import _CacheInfo #XXX: expose _CacheInfo in cache ? 
    910 
    1011__all__ = ['memoize', 'memoized'] 
  • branches/decorate/test_cached.py

    r670 r671  
    11#from mystic.cache.safe import inf_cache as memoized 
    2 from mystic.cache import inf_cache as memoized 
     2#from mystic.cache import inf_cache as memoized 
     3from memoize import memoize as memoized 
    34from mystic.cache.archives import file_archive 
    45from timer import timed 
Note: See TracChangeset for help on using the changeset viewer.