[Zope-dev] inheritedAttribute - super

2005-09-27 Thread Florent Guillaume
Is there any problem if I change current Zope 2 trunk uses of inheritedAttribute into calls to super ? Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev

Re: [Zope-dev] Re: SVN: Zope/branches/Zope-2_8-branch/ - Collector #1879: applied patch by Dieter Maurer to fix a bug in

2005-09-27 Thread Dieter Maurer
Florent Guillaume wrote at 2005-9-26 18:31 +0200: This is the kind of thing that would *really* benefit from having unit tests... from Acquisition import Explicit class A(Explicit): x = 1 ... def test_aq_acquire(self): ac = A() a = A().__of__(ac) self.assertEqual(a.aq_acquire('x'), 1)