[Zope3-dev] Transaction bound cache

Jim Fulton jim at zope.com
Mon Sep 17 10:04:12 EDT 2007


No, that would introduce a dependency on zodb.  I suggest a separate  
package.

Jim

On Sep 17, 2007, at 6:03 AM, Christian Zagrodnick wrote:

> Hi
>
> i've got a very simple transaction bound cache implementation. That  
> is the cache gets invalidated on transaction end.
>
> It's used like this:
>
> class Foo(object):
>
>   data = TransactionBoundCache('_v_store_it_here', dict)
>
> where `dict` is the cache factory.
>
>
> Shall I add this to zope.cachedescriptors?
>
> -- 
> Christian Zagrodnick
>
> gocept gmbh & co. kg  ·  forsterstrasse 29 · 06112 halle/saale
> www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891
>
>
>
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub: http://mail.zope.org/mailman/options/zope3-dev/jim%40zope.com
>

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the Zope3-dev mailing list