PERF: Reimplemented remember_last with a weak_lru_cache

which won't leak instances whose methods have been decorated

(specifically DataPortal instances)

MAINT: Not using functools32 anymore
This commit is contained in:
Richard Frank
2016-04-12 19:33:21 -04:00
parent 32a400a9fb
commit 5254b273b2
5 changed files with 279 additions and 16 deletions
-3
View File
@@ -33,9 +33,6 @@ cyordereddict==0.2.2
# faster array ops.
bottleneck==1.0.0
# lru_cache
functools32==3.2.3.post2;python_version<'3.0'
contextlib2==0.4.0
# networkx requires decorator