[Checkins] SVN: zope.app.component/trunk/ Deprecate import of ISite/IPossibleSite from zope.app.component.interfaces.
Dan Korostelev
nadako at gmail.com
Mon Dec 15 08:42:40 EST 2008
Log message for revision 94075:
Deprecate import of ISite/IPossibleSite from zope.app.component.interfaces.
Changed:
U zope.app.component/trunk/CHANGES.txt
U zope.app.component/trunk/src/zope/app/component/interfaces/__init__.py
-=-
Modified: zope.app.component/trunk/CHANGES.txt
===================================================================
--- zope.app.component/trunk/CHANGES.txt 2008-12-15 13:16:17 UTC (rev 94074)
+++ zope.app.component/trunk/CHANGES.txt 2008-12-15 13:42:40 UTC (rev 94075)
@@ -23,6 +23,10 @@
- Remove zope.modulealias test dependency as it is
not used anywhere.
+- Deprecate ISite and IPossibleSite imports from
+ zope.app.component.interfaces. They were moved
+ to zope.location.interfaces ages ago.
+
3.5.0 (2008-10-13)
------------------
Modified: zope.app.component/trunk/src/zope/app/component/interfaces/__init__.py
===================================================================
--- zope.app.component/trunk/src/zope/app/component/interfaces/__init__.py 2008-12-15 13:16:17 UTC (rev 94074)
+++ zope.app.component/trunk/src/zope/app/component/interfaces/__init__.py 2008-12-15 13:42:40 UTC (rev 94075)
@@ -16,13 +16,16 @@
$Id$
"""
-
+import zope.deferredimport
import zope.interface
import zope.component.interfaces
import zope.app.container.interfaces
-from zope.location.interfaces import IPossibleSite, ISite
-
+zope.deferredimport.deprecatedFrom(
+ "Moved to zope.location.interfaces. Importing from here will stop working in Zope 3.6",
+ "zope.location.interfaces",
+ "ISite", "IPossibleSite")
+
class INewLocalSite(zope.interface.Interface):
"""Event: a local site was created
"""
More information about the Checkins
mailing list