...
Excellent. Will it also fix this particularity of ExtensionClass:
from ExtensionClass import Base
... class A(Base):
... def foo(self):
... self.gee
... def bar(self):
... del self.gee
...
a=A() a.foo()
Traceback (most recent call last): File "<stdin>", line 1, in ? File "<stdin>", line 3, in foo AttributeError: gee
a.bar()
Traceback (most recent call last): File "<stdin>", line 1, in ? File "<stdin>", line 5, in bar KeyError: gee
I.e., the fact that KeyError is raised whereas a normal class would raise AttributeError.
... Jim makes a unit test ...
Yes. :)
Jim
-- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )