[Zodb-checkins] CVS: Zope3/src/zope/interface - interface.py:1.12

Jim Fulton jim at zope.com
Wed Jul 30 15:35:54 EDT 2003


Update of /cvs-repository/Zope3/src/zope/interface
In directory cvs.zope.org:/tmp/cvs-serv7845/src/zope/interface

Modified Files:
	interface.py 
Log Message:
Fixed a hideous bug in the the handling of tagged values. All elements
(interfaces, methods, attributes) shared the *same* tagged values.


=== Zope3/src/zope/interface/interface.py 1.11 => 1.12 ===
--- Zope3/src/zope/interface/interface.py:1.11	Tue Jun 24 15:04:40 2003
+++ Zope3/src/zope/interface/interface.py	Wed Jul 30 14:35:18 2003
@@ -30,8 +30,6 @@
     #
     #__implements__ = IElement
 
-    __tagged_values = {}
-
     def __init__(self, __name__, __doc__=''):
         """Create an 'attribute' description
         """
@@ -41,6 +39,7 @@
 
         self.__name__=__name__
         self.__doc__=__doc__
+        self.__tagged_values = {}
 
     def getName(self):
         """ Returns the name of the object. """




More information about the Zodb-checkins mailing list