Traceback (most recent call last):
File "windowed.py", line 24, in <module>
print(c.get_many(re.compile(r"v.*")))
File "C:\tools\Anaconda3\envs\py36\lib\site-packages\cacheout\cache.py", line 248, in get_many
return {key: self.get(key, default=default) for key in self._filter(iteratee)}
File "C:\tools\Anaconda3\envs\py36\lib\site-packages\cacheout\cache.py", line 248, in <dictcomp>
return {key: self.get(key, default=default) for key in self._filter(iteratee)}
File "C:\tools\Anaconda3\envs\py36\lib\site-packages\cacheout\cache.py", line 500, in _filter
yield from filter(filter_by, target)
RuntimeError: OrderedDict mutated during iteration
I think that when it try to get many it is removing the cache by ttl rule.
Code:
This is the code I'm using python=3.6
Error:
I think that when it try to get many it is removing the cache by ttl rule.