[Zope-Checkins] SVN: Zope/trunk/ deprecated zclasses
Andreas Jung
andreas at andreas-jung.com
Thu Dec 22 06:13:47 EST 2005
Log message for revision 40977:
deprecated zclasses
Changed:
U Zope/trunk/doc/CHANGES.txt
U Zope/trunk/lib/python/ZClasses/__init__.py
-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt 2005-12-22 11:08:31 UTC (rev 40976)
+++ Zope/trunk/doc/CHANGES.txt 2005-12-22 11:13:46 UTC (rev 40977)
@@ -26,6 +26,8 @@
Features added
+ - ZClasses are deprecated and should no longer be used.
+
- Added a "clock server" servertype which allows users to
configure methods that should be called periodically as if
they were being called by a remote user agent on one of Zope's
Modified: Zope/trunk/lib/python/ZClasses/__init__.py
===================================================================
--- Zope/trunk/lib/python/ZClasses/__init__.py 2005-12-22 11:08:31 UTC (rev 40976)
+++ Zope/trunk/lib/python/ZClasses/__init__.py 2005-12-22 11:13:46 UTC (rev 40977)
@@ -17,6 +17,12 @@
$Id$'''
__version__='$Revision: 1.7 $'[11:-2]
+
+import warnings
+warnings.warn('ZClasses are deprecated, unmaintained and should no longer be used',
+ DeprecationWarning,
+ stacklevel=2)
+
import ZClass
import ZClassOwner
More information about the Zope-Checkins
mailing list