- Timestamp:
- 05/25/13 05:23:32 (3 years ago)
- Location:
- branches/decorate
- Files:
-
- 8 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/decorate/memoize.py
r659 r660 14 14 return True 15 15 except TypeError: return False 16 #return hasattr(x, '__len__') or hasattr(x, '__iter__') 17 16 18 17 19 def deep_round_factory(tol): … … 384 386 return dec 385 387 388 #FIXME: use cache maxsize algorithms... where dump if maxsize 389 #FIXME: can make trash_archive where archives to del 390 #FIXME: can have serializer be 'hash' or lambda x:x 391 #FIXME: should sort(kwds.items) in argstr; probably add an object to separate 386 392 387 393 class memoize(object):
Note: See TracChangeset
for help on using the changeset viewer.