[Zope3-checkins] CVS: Zope3/src/zope/proxy/context/tests - test_wrapper.py:1.4
Steve Alexander
steve@cat-box.net
Wed, 09 Apr 2003 17:16:45 +0200
> This may be masking a problem. The type objects should not leak if they
> are created dynamically (as opposed to statically in a C extension).
I'll revert the change in my sandbox, and check.
> BTW, can't this
> t1 = type('ContextUnawareObj', (), {slot: doit})
> be spelled as
>
> class ContextUnawareObj(object):
> slot = doit
No. That would be:
t1 = type('ContextUnawareObj', (), {'slot': doit})
--
Steve Alexander