News for hackers. Stuff that matters.
Re:Ring: Advanced cache interface for Python by bsdz on Tuesday May 28, 2019 @10:14AM (#20030198)
Looks extensive and I'll likely try using the module at some point.

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() 
  ..
This might be less likely to clash with any existing function attributes (if you're wrapping a 3rd party function say).
Re:Ring: Advanced cache interface for Python by youknowone on Tuesday May 28, 2019 @10:26AM (#20030364)
Thanks for the great advice. I never thought about this problem.