Re: [Python-Dev] weakattr

2006-07-03 Thread tomer filiba
> I like the added functionality offered with weakattrs as defined. I'm > not terribly in love with the syntax of their creation, and I'm curious > as to how it plays with __slots__ weakattrs are data descriptors, just like properties etc. they are part of the class, not the instance, so there sho

Re: [Python-Dev] weakattr

2006-07-01 Thread Josiah Carlson
"tomer filiba" <[EMAIL PROTECTED]> wrote: > weakattr (weak attributes) are attributes that are weakly referenced > by their containing object. they are very useful for cyclic references -- > an object that holds a reference to itself. I like the added functionality offered with weakattrs as defin