Changeset 669 for branches


Ignore:
Timestamp:
05/29/13 18:32:53 (3 years ago)
Author:
mmckerns
Message:

moved rounding and cache stuff from decorate branch into trunk

Location:
branches/decorate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/decorate/memoize.py

    r667 r669  
    33""" 
    44from functools import update_wrapper, wraps as functools_wraps 
    5 from rounding import deep_round, simple_round 
    6 from archives import archive_dict 
    7 from keymaps import stringmap 
    8 from cache import _CacheInfo, inf_cache 
     5from mystic.math.rounding import deep_round, simple_round 
     6from mystic.cache.archives import archive_dict 
     7from mystic.cache.keymaps import stringmap 
     8from mystic.cache import _CacheInfo, inf_cache 
    99 
    1010__all__ = ['memoize', 'memoized'] 
  • branches/decorate/surrogate.py

    r667 r669  
    2020 
    2121 
    22 from safecache import inf_cache as memoized 
    23 #from cache import inf_cache as memoized 
    24 from archives import archive_dict, file_archive 
    25 from keymaps import picklemap, stringmap, hashmap 
     22from mystic.cache.safe import inf_cache as memoized 
     23#from mystic.cache import inf_cache as memoized 
     24from mystic.cache.archives import archive_dict, file_archive 
     25from mystic.cache.keymaps import picklemap, stringmap, hashmap 
    2626dumps = picklemap(flat=False) 
    2727encode = stringmap(flat=False) 
Note: See TracChangeset for help on using the changeset viewer.