[Zope-Checkins] CVS: Zope/lib/python/Interface - Attribute.py:1.4 IElement.py:1.4 Method.py:1.11 _Interface.py:1.4 _InterfaceClass.py:1.5 __init__.py:1.8 pyskel.py:1.4 _Attribute.py:NONE

Chris McDonough chrism@zope.com
Tue, 11 Jun 2002 11:34:28 -0400


Update of /cvs-repository/Zope/lib/python/Interface
In directory cvs.zope.org:/tmp/cvs-serv17860

Modified Files:
	IElement.py Method.py _Interface.py _InterfaceClass.py 
	__init__.py pyskel.py 
Added Files:
	Attribute.py 
Removed Files:
	_Attribute.py 
Log Message:
Moved _Attribute.py module back to Attribute.py at Jim's behest in the name of maintaining similarity with the Zope 3 Interface package.


=== Zope/lib/python/Interface/Attribute.py 1.3 => 1.4 ===
+#
+# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# All Rights Reserved.
+# 
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+# 
+##############################################################################
+"""
+
+Revision information:
+$Id$
+"""
+
+from _Element import Element
+
+class Attribute(Element):
+    """Attribute descriptions
+    """
+
+    # We can't say this yet because we don't have enough
+    # infrastructure in place.
+    #
+    #__implements__ = IAttribute
+
+


=== Zope/lib/python/Interface/IElement.py 1.3 => 1.4 ===
 
 from _Interface import Interface
-from _Attribute import Attribute
+from Attribute import Attribute
 
 class IElement(Interface):
     """Objects that have basic documentation and tagged values.


=== Zope/lib/python/Interface/Method.py 1.10 => 1.11 ===
 """
 import Exceptions
-from _Attribute import Attribute
+from Attribute import Attribute
 
 sig_traits = ['positional', 'required', 'optional', 'varargs', 'kwargs']
 


=== Zope/lib/python/Interface/_Interface.py 1.3 => 1.4 ===
     from Implements import implements
 
-    from _Attribute import Attribute
+    from Attribute import Attribute
     from IAttribute import IAttribute
     implements(Attribute, IAttribute)
 


=== Zope/lib/python/Interface/_InterfaceClass.py 1.4 => 1.5 ===
 import sys
 from Method import Method, fromFunction
-from _Attribute import Attribute
+from Attribute import Attribute
 from types import FunctionType
 import Exceptions
 from _Element import Element


=== Zope/lib/python/Interface/__init__.py 1.7 => 1.8 ===
 
 from _Interface import Interface
-from _Attribute import Attribute
+from Attribute import Attribute
 Base = Interface # XXX We need to stamp out Base usage
 


=== Zope/lib/python/Interface/pyskel.py 1.3 => 1.4 ===
 from types import ModuleType
 from Interface.Method import Method
-from Interface._Attribute import Attribute
+from Interface.Attribute import Attribute
 
 class_re = re.compile(r'\s*class\s+([a-zA-Z_][a-zA-Z0-9_]*)')
 def_re = re.compile(r'\s*def\s+([a-zA-Z_][a-zA-Z0-9_]*)')

=== Removed File Zope/lib/python/Interface/_Attribute.py ===