Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ring: Advanced cache interface for Python.
One thing, why not stash all the function methods under a "ring" or "cache" attribute, eg
@ring.lru() def foo() .. foo.cache.update() foo.cache.delete() ..
One thing, why not stash all the function methods under a "ring" or "cache" attribute, eg
This might be less likely to clash with any existing function attributes (if you're wrapping a 3rd party function say).