[Checkins] SVN: zope.app.component/trunk/ Remove deprecated imports
Dan Korostelev
nadako at gmail.com
Sat Dec 13 17:37:40 EST 2008
Log message for revision 94042:
Remove deprecated imports
Changed:
U zope.app.component/trunk/CHANGES.txt
U zope.app.component/trunk/src/zope/app/component/metaconfigure.py
-=-
Modified: zope.app.component/trunk/CHANGES.txt
===================================================================
--- zope.app.component/trunk/CHANGES.txt 2008-12-13 22:32:12 UTC (rev 94041)
+++ zope.app.component/trunk/CHANGES.txt 2008-12-13 22:37:40 UTC (rev 94042)
@@ -13,6 +13,7 @@
zope.component.interface ages ago.
* zope:content and zope:localUtility directives.
* zope:factory directive.
+ * deprecated imports in zope.component.metaconfigure
- Remove "back35" extras_require as it doesn't make
any sense now.
Modified: zope.app.component/trunk/src/zope/app/component/metaconfigure.py
===================================================================
--- zope.app.component/trunk/src/zope/app/component/metaconfigure.py 2008-12-13 22:32:12 UTC (rev 94041)
+++ zope.app.component/trunk/src/zope/app/component/metaconfigure.py 2008-12-13 22:37:40 UTC (rev 94042)
@@ -26,18 +26,9 @@
from zope.configuration.exceptions import ConfigurationError
from zope.security.checker import CheckerPublic
from zope.security.checker import Checker, NamesChecker
-import zope.deferredimport
PublicPermission = 'zope.Public'
-zope.deferredimport.deprecatedFrom(
- "Moved to zope.component.zcml. Importing from here will stop working "
- "in Zope 3.5",
- "zope.component.zcml",
- "handler", "adapter", "subscriber", "utility", "interface",
- )
-
-
def _checker(_context, permission, allowed_interface, allowed_attributes):
if (not allowed_attributes) and (not allowed_interface):
allowed_attributes = ["__call__"]
More information about the Checkins
mailing list