Commit 80a35459 authored by Tres Seaver's avatar Tres Seaver

Noted long-standing but silent deprecation of Zope2-style interfaces

o Issue deprecation warning on import of the Interface package). That package
  is already gone on the trunk.
parent 6d5c18ce
......@@ -4,6 +4,14 @@ Zope Changes
Change information for previous versions of Zope can be found in the
file HISTORY.txt.
After Zope 2.11 rc 1
Restructuring
- Noted long-standing but silent deprecation of Zope2-style
interfaces (on import of the Interface package). That package
is already gone on the trunk.
Zope 2.11 rc 1 (2008/05/08)
Bugs Fixed
......
......@@ -66,6 +66,11 @@ create interface skeletins. Run it without arguments to get documentation.
Revision information:
$Id$
"""
import warnings
warnings.warn(
'The Interface package is deprecated and will be removed '
'in Zope 2.12. Use zope.interface instead.',
DeprecationWarning, stacklevel=2)
from _Interface import Interface
from Attribute import Attribute
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment