[Checkins] SVN: zope.app.container/trunk/ Remove long-time deprecated IContentContainer class

Dan Korostelev nadako at gmail.com
Mon Dec 1 19:11:41 EST 2008


Log message for revision 93524:
  Remove long-time deprecated IContentContainer class

Changed:
  U   zope.app.container/trunk/CHANGES.txt
  U   zope.app.container/trunk/setup.py
  U   zope.app.container/trunk/src/zope/app/container/interfaces.py

-=-
Modified: zope.app.container/trunk/CHANGES.txt
===================================================================
--- zope.app.container/trunk/CHANGES.txt	2008-12-02 00:08:26 UTC (rev 93523)
+++ zope.app.container/trunk/CHANGES.txt	2008-12-02 00:11:40 UTC (rev 93524)
@@ -5,7 +5,7 @@
 3.7.0 (unreleased)
 ------------------
 
-- ...
+- Remove long-time deprecated IContentContainer class.
 
 3.6.2 (2008-10-21)
 ------------------

Modified: zope.app.container/trunk/setup.py
===================================================================
--- zope.app.container/trunk/setup.py	2008-12-02 00:08:26 UTC (rev 93523)
+++ zope.app.container/trunk/setup.py	2008-12-02 00:11:40 UTC (rev 93524)
@@ -64,7 +64,6 @@
                                 'zope.app.file']),
       install_requires=['setuptools',
                         'zope.interface',
-                        'zope.deprecation',
                         'zope.app.publisher',
                         'zope.cachedescriptors',
                         'zope.dottedname',

Modified: zope.app.container/trunk/src/zope/app/container/interfaces.py
===================================================================
--- zope.app.container/trunk/src/zope/app/container/interfaces.py	2008-12-02 00:08:26 UTC (rev 93523)
+++ zope.app.container/trunk/src/zope/app/container/interfaces.py	2008-12-02 00:11:40 UTC (rev 93524)
@@ -17,8 +17,6 @@
 """
 __docformat__ = 'restructuredtext'
 
-from zope.deprecation import deprecated
-
 from zope.interface import Interface, Attribute, Invalid
 from zope.component.interfaces import IView, IObjectEvent
 from zope.interface.common.mapping import IItemMapping
@@ -26,11 +24,6 @@
 from zope.location.interfaces import ILocation
 from zope.lifecycleevent.interfaces import IObjectModifiedEvent
 
-deprecated('IContentContainer',
-           'This interface has been deprecated. '
-           'Check the "containerViews" zcml directive. '
-           'The reference will be gone in 3.3')
-
 class DuplicateIDError(KeyError):
     pass
 
@@ -129,10 +122,6 @@
     """A write container that also supports minimal reads."""
 
 
-class IContentContainer(IWriteContainer):
-    """Containers (like folders) that contain ordinary content."""
-
-
 class IContainer(IReadContainer, IWriteContainer):
     """Readable and writable content container."""
 



More information about the Checkins mailing list