[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/ Backported
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Aug 12 16:03:59 EDT 2004
Log message for revision 27082:
Backported
r26567 | srichter | 2004-07-16 02:58:27 -0400 (Fri, 16 Jul 2004) | 2 lines
r26570 | srichter | 2004-07-16 03:54:40 -0400 (Fri, 16 Jul 2004) | 3 lines
Changed:
U Zope3/branches/ZopeX3-3.0/Makefile
U Zope3/branches/ZopeX3-3.0/src/zope/app/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/appsetup/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/basicskin/tests/test_standardmacros.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/broken/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/component/metadirectives.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/module.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/test_contentdirective.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/test_interface.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/test_requirepermissions.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/container/browser/ftests/test_contents.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/content/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/copypastemove/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/copypastemove/tests/test_rename.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/dav/tests/test_propfind.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/debug/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/debugskin/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/dependable/interfaces.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/dtmlpage/dtmlpage.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/dtmlpage/interfaces.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/dtmlpage/tests/test_dtmlpage.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/annotatableadapter.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/interfaces.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/event/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/file/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/file/browser/tests/test_imagedata.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/file/image.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/file/tests/test_file.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/file/tests/test_image.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/folder/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/folder/tests.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/interfaces.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/metadirectives.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_add.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_checkboxwidget.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_datetimewidget.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_datewidget.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_exception.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_filewidget.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_floatwidget.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_intwidget.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_multicheckboxwidget.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_objectwidget.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_passwordwidget.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_radiowidget.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_setprefix.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_textareawidget.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_textwidget.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_widgetdocs.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/generations/browser/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/generations/browser/ftests.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/http/interfaces.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/i18n/browser/tests/test_translate.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/i18nfile.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/i18nimage.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/interfaces.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/introspector/interfaces.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/locales/pygettext.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/observable/observers.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/pagetemplate/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/pluggableauth/browser/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/pluggableauth/tests/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/publication/publicationtraverse.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/browser/tests/test_pagetemplateresource.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/fileresource.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_doctests.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_dsnparser.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_zopeconnection.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_zopecursor.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_zopedbtransactionmanager.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/registration/tests/test_registered.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/registration/tests/test_registrationmanager.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/standardmacros.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/tests/test_xmlnavigationviews.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/tests/util.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/module.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/modulehookup.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/test_loginpassword.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/securitypolicy/rolepermission.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/dtml.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/interfaces.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/sqlscript.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test_datetimeparse.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test_standard_dates.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/traversing/api.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/tree/tests/test_encoder.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/undo/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/undo/interfaces.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/undo/tests/test_prefix.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/undo/tests/test_zodbundomanager.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/utility/browser/tests/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/zptpage/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/app/zptpage/tests/test_zptpageeval.py
U Zope3/branches/ZopeX3-3.0/src/zope/cachedescriptors/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/component/service.py
U Zope3/branches/ZopeX3-3.0/src/zope/component/tests/test_api.py
U Zope3/branches/ZopeX3-3.0/src/zope/component/tests/test_service.py
U Zope3/branches/ZopeX3-3.0/src/zope/configuration/exceptions.py
U Zope3/branches/ZopeX3-3.0/src/zope/exceptions/_duplicate.py
U Zope3/branches/ZopeX3-3.0/src/zope/exceptions/_notfounderror.py
U Zope3/branches/ZopeX3-3.0/src/zope/interface/exceptions.py
U Zope3/branches/ZopeX3-3.0/src/zope/interface/interfaces.py
U Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/dummy.py
U Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/ifoo.py
U Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/m1.py
U Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/m2.py
U Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/test_interface.py
U Zope3/branches/ZopeX3-3.0/src/zope/interface/verify.py
U Zope3/branches/ZopeX3-3.0/src/zope/modulealias/metaconfigure.py
U Zope3/branches/ZopeX3-3.0/src/zope/modulealias/metadirectives.py
U Zope3/branches/ZopeX3-3.0/src/zope/modulealias/tests/test_modulealias.py
U Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/pagetemplatefile.py
U Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/tests/test_basictemplate.py
U Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/tests/test_ptfile.py
U Zope3/branches/ZopeX3-3.0/src/zope/publisher/tests/httprequest.py
U Zope3/branches/ZopeX3-3.0/src/zope/publisher/tests/test_browserlanguages.py
U Zope3/branches/ZopeX3-3.0/src/zope/publisher/tests/test_ftp.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/_bootstrapfields.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/_schema.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_boolfield.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_containerfield.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_date.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_datetime.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_dictfield.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_equality.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_field.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_fieldproperty.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_floatfield.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_interfacefield.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_intfield.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_iterablefield.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_listfield.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_objectfield.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_schema.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_strfield.py
U Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_tabcomplete.py
U Zope3/branches/ZopeX3-3.0/src/zope/security/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/security/setup.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/dualmodechannel.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/ftp/server.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/ftp/tests/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/ftp/tests/test_ftpserver.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/http/httpserver.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/http/httpserverchannel.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_commonaccesslogger.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_httpdate.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_httprequestparser.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_httpserver.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/interfaces/logger.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/linereceiver/lineserverchannel.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/logger/rotatingfilelogger.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/logger/socketlogger.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/logger/sysloglogger.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/logger/tests/test_pythonlogger.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/maxsockets.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/trigger.py
U Zope3/branches/ZopeX3-3.0/src/zope/server/utilities.py
U Zope3/branches/ZopeX3-3.0/src/zope/tal/driver.py
U Zope3/branches/ZopeX3-3.0/src/zope/tal/interfaces.py
U Zope3/branches/ZopeX3-3.0/src/zope/tal/ndiff.py
U Zope3/branches/ZopeX3-3.0/src/zope/tal/runtest.py
U Zope3/branches/ZopeX3-3.0/src/zope/tal/setpath.py
U Zope3/branches/ZopeX3-3.0/src/zope/tal/talgettext.py
U Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/markbench.py
U Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/test_sourcepos.py
U Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/test_talgettext.py
U Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/utils.py
U Zope3/branches/ZopeX3-3.0/src/zope/tales/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/testing/__init__.py
U Zope3/branches/ZopeX3-3.0/src/zope/testing/loghandler.py
-=-
Modified: Zope3/branches/ZopeX3-3.0/Makefile
===================================================================
--- Zope3/branches/ZopeX3-3.0/Makefile 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/Makefile 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1,4 +1,4 @@
-PYTHON=python2.3
+PYTHON=Python2.3
TESTFLAGS=-p -v
TESTOPTS=
SETUPFLAGS=
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -12,4 +12,6 @@
#
##############################################################################
"""Zope application package.
+
+$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/appsetup/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/appsetup/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/appsetup/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1,3 +1,20 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Zope Application Server setup package
+
+$Id$
+"""
from zope.app.appsetup.appsetup import IDatabaseOpenedEvent, DatabaseOpened
from zope.app.appsetup.appsetup import IProcessStartingEvent, ProcessStarting
from zope.app.appsetup.appsetup import config, database
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/basicskin/tests/test_standardmacros.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/basicskin/tests/test_standardmacros.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/basicskin/tests/test_standardmacros.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Basic skin standard macros
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/broken/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/broken/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/broken/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1 +1 @@
-#
+# Make this directory a package.
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/component/metadirectives.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/component/metadirectives.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/component/metadirectives.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Component architecture related 'zope' ZCML namespace directive interfaces
+
$Id$
"""
-
import zope.configuration.fields
import zope.interface
import zope.schema
@@ -39,9 +39,7 @@
)
class IBasicViewInformation(zope.interface.Interface):
- """
- This is the basic information for all views.
- """
+ """This is the basic information for all views."""
for_ = zope.configuration.fields.Tokens(
title=u"Specifications of the objects to be viewed",
@@ -235,9 +233,7 @@
)
class IUtilityDirective(IBasicComponentInformation):
- """
- Register a utility
- """
+ """Register a utility"""
provides = zope.configuration.fields.GlobalObject(
title=u"Interface the component provides",
@@ -250,9 +246,7 @@
)
class IFactoryDirective(zope.interface.Interface):
- """
- Define a factory
- """
+ """Define a factory"""
component = zope.configuration.fields.GlobalObject(
title=u"Component to be used",
@@ -280,9 +274,7 @@
class IViewDirective(IBasicViewInformation, IBasicResourceInformation):
- """
- Register a view for a component
- """
+ """Register a view for a component"""
factory = zope.configuration.fields.Tokens(
title=u"Factory",
@@ -312,9 +304,7 @@
class IResourceDirective(IBasicComponentInformation,
IBasicResourceInformation):
- """
- Register a resource
- """
+ """Register a resource"""
layer = zope.schema.TextLine(
title=u"The layer the resource is in.",
@@ -347,9 +337,7 @@
)
class IServiceDirective(IBasicComponentInformation):
- """
- Register a service
- """
+ """Register a service"""
serviceType = zope.schema.TextLine(
title=u"ID of service type",
@@ -357,9 +345,7 @@
)
class IClassDirective(zope.interface.Interface):
- """
- Make statements about a class
- """
+ """Make statements about a class"""
class_ = zope.configuration.fields.GlobalObject(
title=u"Class",
@@ -367,8 +353,7 @@
)
class IImplementsSubdirective(zope.interface.Interface):
- """
- Declare that the class given by the content directive's class
+ """Declare that the class given by the content directive's class
attribute implements a given interface
"""
@@ -379,8 +364,7 @@
)
class IRequireSubdirective(zope.interface.Interface):
- """
- Indicate that the a specified list of names or the names in a
+ """Indicate that the a specified list of names or the names in a
given Interface require a given permission for access.
"""
@@ -453,9 +437,7 @@
)
class IFactorySubdirective(zope.interface.Interface):
- """
- Specify the factory used to create this content object
- """
+ """Specify the factory used to create this content object"""
id = zope.schema.Id(
title=u"ID",
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/module.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/module.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/module.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -16,8 +16,10 @@
This is necessary because the test framework interferes with seeing changes in
the running modules via the module namespace. This enables having some
subject classes, instances, permissions, etc, that don't live in the test
-modules, themselves."""
+modules, themselves.
+$Id$
+"""
from zope.interface import Interface
from zope.schema import Text
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/test_contentdirective.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/test_contentdirective.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/test_contentdirective.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test 'zope:content' directive.
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/test_interface.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/test_interface.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/test_interface.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,6 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Interface utility tests
+
+$Id$
+"""
import unittest
from zope.testing.doctestunit import DocTestSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/test_requirepermissions.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/test_requirepermissions.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/component/tests/test_requirepermissions.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-""" Test handler for 'require' subdirective of 'content' directive """
+"""Test handler for 'require' subdirective of 'content' directive
+$Id$
+"""
from cStringIO import StringIO
import unittest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/container/browser/ftests/test_contents.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/container/browser/ftests/test_contents.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/container/browser/ftests/test_contents.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Functional tests for the Container's 'Contents' view
+
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/content/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/content/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/content/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,16 +11,17 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Content Type convenience lookup functions
+
$Id$
"""
-
+__docformat__ = 'restructuredtext'
from zope.app.interface import queryType
from zope.app.content.interfaces import IContentType
def queryContentType(object):
- """Returns the interface implemented by object which implements IContentType.
- """
+ """Returns the interface implemented by object which implements
+ ``IContentType``."""
return queryType(object, IContentType)
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/copypastemove/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/copypastemove/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/copypastemove/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Copy, Paste and Move support for content components
+
$Id$
"""
from zope.interface import implements, Invalid
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/copypastemove/tests/test_rename.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/copypastemove/tests/test_rename.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/copypastemove/tests/test_rename.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test renaming of components
+
$Id$
"""
from unittest import TestCase, TestSuite, main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/dav/tests/test_propfind.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/dav/tests/test_propfind.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/dav/tests/test_propfind.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,9 +11,11 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""WebDAV ``PROPFIND`` HTTP verb implementation
+
$Id$
"""
+__docformat__ = 'restructuredtext'
from StringIO import StringIO
from unittest import TestCase, TestSuite, main, makeSuite
from datetime import datetime
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/debug/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/debug/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/debug/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1 +1,18 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Zope Application debugger package
+
+$Id$
+"""
from zope.app.debug.debug import Debugger
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/debugskin/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/debugskin/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/debugskin/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1 +1 @@
-##
\ No newline at end of file
+# Make this directory a package.
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/dependable/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/dependable/interfaces.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/dependable/interfaces.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Dependable framework interfaces
+
$Id$
"""
-
from zope.interface import Interface
from zope.app.exception.interfaces import UserError
@@ -38,12 +38,5 @@
"""Return a sequence of dependent object locations.
"""
-__doc__ = IDependable.__doc__ + __doc__
-
-
-"""
-$Id$
-"""
-
class DependencyError(UserError):
""" This object is dependable"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/dtmlpage/dtmlpage.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/dtmlpage/dtmlpage.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/dtmlpage/dtmlpage.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""DTML Page content component
+
$Id$
"""
from persistent import Persistent
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/dtmlpage/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/dtmlpage/interfaces.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/dtmlpage/interfaces.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""DTML Page content component interfaces
+
$Id$
"""
import zope.schema
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/dtmlpage/tests/test_dtmlpage.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/dtmlpage/tests/test_dtmlpage.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/dtmlpage/tests/test_dtmlpage.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,12 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-Basic tests for Page Templates used in content-space.
+"""Basic tests for Page Templates used in content-space.
$Id$
"""
-
import unittest
from zope.security.checker import NamesChecker, defineChecker
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/annotatableadapter.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/annotatableadapter.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/annotatableadapter.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Dublin Core Annotatable Adapter
+
$Id$
"""
from persistent.dict import PersistentDict
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/interfaces.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/interfaces.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Dublin Core interfaces
+
$Id$
"""
-
from zope.app.annotation.interfaces import IAnnotatable
from zope.interface import Interface
from zope.schema import Text, TextLine, Datetime, List
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/event/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/event/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/event/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,9 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Event Package
$Id$
"""
-
from dispatching import publish
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/file/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/file/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/file/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,9 +11,9 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""File and Image content components
+
$Id$
"""
-
from file import File
from image import Image
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/file/browser/tests/test_imagedata.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/file/browser/tests/test_imagedata.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/file/browser/tests/test_imagedata.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Image Data handling
$Id$
"""
-
import unittest
from zope.app.file.image import Image
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/file/image.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/file/image.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/file/image.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Image content type implementation
+
$Id$
"""
import struct
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/file/tests/test_file.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/file/tests/test_file.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/file/tests/test_file.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test File content component.
+
$Id$
"""
import unittest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/file/tests/test_image.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/file/tests/test_image.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/file/tests/test_image.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Image content component
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/folder/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/folder/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/folder/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Folder content component
+
$Id$
"""
-
from folder import Folder, rootFolder
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/folder/tests.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/folder/tests.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/folder/tests.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Folder content component tests
+
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Generic Widget base classes
+
$Id$
"""
from zope.app.form.interfaces import IWidget, InputErrors
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/interfaces.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/interfaces.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Form and Widget Interfaces
+
$Id$
"""
from zope.interface import Interface
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/metadirectives.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/metadirectives.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/metadirectives.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Form and Widget specific 'browser' ZCML namespace interfaces
+
$Id$
"""
from zope.interface import Interface
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_add.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_add.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_add.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test add-form
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_checkboxwidget.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_checkboxwidget.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_checkboxwidget.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Checkbox Widget tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_datetimewidget.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_datetimewidget.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_datetimewidget.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Datetime Widget Tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_datewidget.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_datewidget.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_datewidget.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Date Widget tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_exception.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_exception.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_exception.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Exception Views tests
+
$Id$
"""
import unittest
@@ -22,4 +23,5 @@
DocTestSuite('zope.app.form.browser.exception'),
))
-if __name__ == '__main__': unittest.main()
+if __name__ == '__main__':
+ unittest.main(defaultTest='test_suite')
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_filewidget.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_filewidget.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_filewidget.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""File Widget tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_floatwidget.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_floatwidget.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_floatwidget.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Float Widget tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_intwidget.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_intwidget.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_intwidget.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Integer Widget Tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_multicheckboxwidget.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_multicheckboxwidget.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_multicheckboxwidget.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Multi-Checkbox Widget Tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_objectwidget.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_objectwidget.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_objectwidget.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Object Widget tests
+
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_passwordwidget.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_passwordwidget.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_passwordwidget.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Password Widget Tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_radiowidget.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_radiowidget.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_radiowidget.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Radio Widget Tests
+
$Id$
"""
import os
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_setprefix.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_setprefix.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_setprefix.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Widget name prefix tests
+
$Id$
"""
import unittest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_textareawidget.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_textareawidget.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_textareawidget.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Textarea Widget tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_textwidget.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_textwidget.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_textwidget.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Text Widget tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_widgetdocs.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_widgetdocs.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/tests/test_widgetdocs.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Generic Text Widgets tests
+
$Id$
"""
import unittest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/generations/browser/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/generations/browser/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/generations/browser/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1 +1 @@
-#
+# Make this directory a package.
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/generations/browser/ftests.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/generations/browser/ftests.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/generations/browser/ftests.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1,3 +1,20 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Functional tests for Database generations.
+
+$Id$
+"""
import unittest
from zope.app.tests import ztapi
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/http/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/http/interfaces.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/http/interfaces.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Zope-specific HTTP interfaces
+
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/i18n/browser/tests/test_translate.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/i18n/browser/tests/test_translate.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/i18n/browser/tests/test_translate.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Translation Domain 'Translate' screen.
+
$Id$
"""
import unittest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,9 +11,9 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""I18n-aware File and Image Package
+
$Id$
"""
-
from i18nfile import I18nFile
from i18nimage import I18nImage
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/i18nfile.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/i18nfile.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/i18nfile.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""I18n-aware File implementation
+
$Id$
"""
from persistent import Persistent
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/i18nimage.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/i18nimage.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/i18nimage.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""I18n-aware Image Content Component
+
$Id$
"""
-
from zope.interface import implements
from zope.app.file.image import Image, getImageInfo
from zope.app.i18nfile.i18nfile import I18nFile
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/interfaces.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/i18nfile/interfaces.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""I18n-aware file and image interfaces.
+
$Id$
"""
from zope.i18n.interfaces import II18nAware
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/introspector/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/introspector/interfaces.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/introspector/interfaces.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Introspector interfaces
+
$Id$
"""
from zope.interface import Interface
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/locales/pygettext.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/locales/pygettext.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/locales/pygettext.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -135,8 +135,9 @@
conjunction with the -D option above.
If `inputfile' is -, standard input is read.
+
+$Id$
"""
-
import os
import sys
import time
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/observable/observers.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/observable/observers.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/observable/observers.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -104,7 +104,7 @@
>>> subs
['sub11', 'sub12 1', 'sub22', 'sub_1']
-
+$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/pagetemplate/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/pagetemplate/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/pagetemplate/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,6 +11,9 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Zope-specific Page Templates
+$Id$
+"""
from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
#from zope.app.pagetemplate.simpleviewclass import SimpleViewClass
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/pluggableauth/browser/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/pluggableauth/browser/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/pluggableauth/browser/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1 +1,2 @@
-#
+# Make this directory a package.
+
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/pluggableauth/tests/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/pluggableauth/tests/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/pluggableauth/tests/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1 +1 @@
-""" duh """
+# Make this directory a package.
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/publication/publicationtraverse.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/publication/publicationtraverse.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/publication/publicationtraverse.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Publication Traverser
+
$Id$
"""
from zope.component import queryViewProviding
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/browser/tests/test_pagetemplateresource.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/browser/tests/test_pagetemplateresource.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/browser/tests/test_pagetemplateresource.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Page Template based Resources Test
+
$Id$
"""
-
import os
from unittest import TestCase, main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/fileresource.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/fileresource.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/fileresource.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Browser File Resource
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_doctests.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_doctests.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_doctests.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,16 +11,15 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test RDB implementation
+
$Id$
"""
-
import unittest
from zope.testing.doctestunit import DocTestSuite
-import zope.app.rdb
def test_suite():
- return DocTestSuite(module=zope.app.rdb)
+ return DocTestSuite('zope.app.rdb')
if __name__=='__main__':
unittest.main(defaultTest='test_suite')
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_dsnparser.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_dsnparser.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_dsnparser.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""DSN Parser tests
+
$Id$
"""
import unittest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_zopeconnection.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_zopeconnection.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_zopeconnection.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Zope Connection component
+
$Id$
"""
-
from unittest import TestCase, main, makeSuite
from transaction import get_transaction
from zope.app.rdb import ZopeConnection
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_zopecursor.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_zopecursor.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_zopecursor.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Zope Cursor component
+
$Id$
"""
-
from unittest import TestCase, main, makeSuite
from zope.app.rdb import ZopeConnection
from zope.app.rdb import ZopeCursor
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_zopedbtransactionmanager.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_zopedbtransactionmanager.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/rdb/tests/test_zopedbtransactionmanager.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Zope DB Transaction Manager tests.
+
$Id$
"""
-
from unittest import TestCase, main, makeSuite, TestSuite
from transaction import get_transaction
from transaction.tests.abstestIDataManager import IDataManagerTests
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/registration/tests/test_registered.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/registration/tests/test_registered.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/registration/tests/test_registered.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Registered components tests
+
$Id$
"""
from unittest import TestCase, TestSuite, main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/registration/tests/test_registrationmanager.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/registration/tests/test_registrationmanager.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/registration/tests/test_registrationmanager.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Registration Manager tests
+
$Id$
"""
from unittest import TestSuite, TestCase, main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1 +1 @@
-##
\ No newline at end of file
+# Make this directory a package.
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/standardmacros.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/standardmacros.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/standardmacros.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Rotterdam layer standard macros
+
$Id$
"""
from zope.app.basicskin.standardmacros import StandardMacros as BaseMacros
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/tests/test_xmlnavigationviews.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/tests/test_xmlnavigationviews.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/tests/test_xmlnavigationviews.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""XML Navigation Tree Tests
+
$Id$
"""
from unittest import TestCase, TestLoader, TextTestRunner
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/tests/util.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/tests/util.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/rotterdam/tests/util.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Rotterdam utilities tests
+
$Id$
"""
import os
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Security Tests
+
$Id$
"""
-
from zope.app import zapi
from zope.app.security.permission import Permission
from zope.app.security.interfaces import IPermission
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/module.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/module.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/module.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -14,4 +14,7 @@
"""This empty module is for containing objects used in the course of tests.
(There is a problem with the way the unit tests interact with the modules
-being tests, so the objects can't be expected to show up in place.)"""
+being tests, so the objects can't be expected to show up in place.)
+
+$Id$
+"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/modulehookup.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/modulehookup.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/modulehookup.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -16,8 +16,10 @@
This is necessary because the test framework interferes with seeing changes in
the running modules via the module namespace. This enables having some
subject classes, instances, permissions, etc, that don't live in the test
-modules, themselves."""
+modules, themselves.
+$Id$
+"""
from zope.interface import Interface
from zope.app.security.tests import module as TestModule
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/test_loginpassword.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/test_loginpassword.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/security/tests/test_loginpassword.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,6 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Test Login and Password
+
+$Id$
+"""
import unittest
from zope.app.security.loginpassword import LoginPassword
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/securitypolicy/rolepermission.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/securitypolicy/rolepermission.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/securitypolicy/rolepermission.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Permission to Roles Manager (Adapter)
+
$Id$
"""
from zope.interface import implements
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""SQL Script content type
+
$Id$
"""
-
from sqlscript import SQLScript
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/dtml.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/dtml.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/dtml.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Custom DTML Tags for SQL Script
+
$Id$
"""
import sys
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/interfaces.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/interfaces.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""SQL Script interfaces
+
$Id$
"""
import zope.schema
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/sqlscript.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/sqlscript.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/sqlscript/sqlscript.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""SQL Script content component implementation
+
$Id$
"""
import re
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -12,8 +12,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-test.py [-abBcdDfFgGhklLmMPprstTuUv] [modfilter [testfilter...]]
+"""test.py [-abBcdDfFgGhklLmMPprstTuUv] [modfilter [testfilter...]]
Find and run tests written using the unittest module.
@@ -247,8 +246,9 @@
As before, but now opens up a minimized PyUnit GUI window (only showing
the progress bar). Useful for refactoring runs where you continually want
to make sure all tests still pass.
+
+$Id$
"""
-
import gc
import hotshot, hotshot.stats
import logging
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test_datetimeparse.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test_datetimeparse.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test_datetimeparse.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,6 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Test datetime parser
+
+$Id$
+"""
import unittest
from zope.app.datetimeutils import parse, time, DateTimeError
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test_standard_dates.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test_standard_dates.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test_standard_dates.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,6 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Tests standard date parsing
+
+$Id$
+"""
import unittest
from zope.app.datetimeutils import time
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/traversing/api.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/traversing/api.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/traversing/api.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-Convenience functions for traversing the object tree.
+"""Convenience functions for traversing the object tree.
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/tree/tests/test_encoder.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/tree/tests/test_encoder.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/tree/tests/test_encoder.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Tree Utilities (including Encoder)
+
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/undo/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/undo/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/undo/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Undo Support
+
$Id$
"""
from datetime import datetime
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/undo/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/undo/interfaces.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/undo/interfaces.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Undo Interfaces
+
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/undo/tests/test_prefix.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/undo/tests/test_prefix.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/undo/tests/test_prefix.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Undo Tests
+
$Id$
"""
import unittest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/undo/tests/test_zodbundomanager.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/undo/tests/test_zodbundomanager.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/undo/tests/test_zodbundomanager.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""ZODB Undo-manager tests
+
$Id$
"""
-
from time import time
from unittest import TestCase, main, makeSuite
from transaction import get_transaction
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/utility/browser/tests/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/utility/browser/tests/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/utility/browser/tests/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1 +1 @@
-"""Tests of the utility service views."""
+# Make this directory a package.
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/zptpage/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/zptpage/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/zptpage/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""ZPT Page content type
+
$Id$
"""
-
from zptpage import ZPTPage
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/zptpage/tests/test_zptpageeval.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/zptpage/tests/test_zptpageeval.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/zptpage/tests/test_zptpageeval.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-"""
+"""Test ZPT Page Evaluation
+
$Id$
"""
-
from unittest import TestCase, main, makeSuite
from zope.testing.cleanup import CleanUp # Base class w registry cleanup
from zope.app.container.contained import contained
Modified: Zope3/branches/ZopeX3-3.0/src/zope/cachedescriptors/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/cachedescriptors/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/cachedescriptors/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1,3 +1,16 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
"""Cached descriptors
Cached descriptors cache their output. They take into account
@@ -23,4 +36,5 @@
**Note**, methods haven't been implemented yet.
+$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/component/service.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/component/service.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/component/service.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Service Manager implementation
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/component/tests/test_api.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/component/tests/test_api.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/component/tests/test_api.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""API tests
+$Id$
+"""
import unittest
from zope import component
Modified: Zope3/branches/ZopeX3-3.0/src/zope/component/tests/test_service.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/component/tests/test_service.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/component/tests/test_service.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test ServiceService component
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/configuration/exceptions.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/configuration/exceptions.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/configuration/exceptions.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -12,6 +12,8 @@
#
##############################################################################
"""Standard configuration errors
+
+$Id$
"""
class ConfigurationError(Exception):
Modified: Zope3/branches/ZopeX3-3.0/src/zope/exceptions/_duplicate.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/exceptions/_duplicate.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/exceptions/_duplicate.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Duplication Error
+
$Id$
"""
from zope.interface import implements, Interface
Modified: Zope3/branches/ZopeX3-3.0/src/zope/exceptions/_notfounderror.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/exceptions/_notfounderror.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/exceptions/_notfounderror.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Not Found Error
+
$Id$
"""
from zope.interface.common.interfaces import IKeyError
Modified: Zope3/branches/ZopeX3-3.0/src/zope/interface/exceptions.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/interface/exceptions.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/interface/exceptions.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Interface-specific exceptions
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/interface/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/interface/interfaces.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/interface/interfaces.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Interface Package Interfaces
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/dummy.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/dummy.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/dummy.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,6 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Dummy Module
+
+$Id$
+"""
from zope.interface import moduleProvides
from zope.interface.tests.ifoo import IFoo
from zope.interface import moduleProvides
Modified: Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/ifoo.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/ifoo.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/ifoo.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,6 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""IFoo test module
+
+$Id$
+"""
from zope.interface import Interface
class IFoo(Interface):
Modified: Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/m1.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/m1.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/m1.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1,6 +1,20 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
"""Test module that declares an interface
+
+$Id$
"""
-
from zope.interface import Interface, moduleProvides
class I1(Interface): pass
Modified: Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/m2.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/m2.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/m2.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1,2 +1,17 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
"""Test module that doesn't declare an interface
+
+$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/test_interface.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/test_interface.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/test_interface.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Test Interface implementation
+$Id$
+"""
import unittest
from zope.testing.doctestunit import DocTestSuite
from zope.interface.tests.unitfixtures import * # hehehe
Modified: Zope3/branches/ZopeX3-3.0/src/zope/interface/verify.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/interface/verify.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/interface/verify.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Verify interface implementations
+$Id$
+"""
from zope.interface.exceptions import BrokenImplementation, DoesNotImplement
from zope.interface.exceptions import BrokenMethodImplementation
from types import FunctionType, MethodType
Modified: Zope3/branches/ZopeX3-3.0/src/zope/modulealias/metaconfigure.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/modulealias/metaconfigure.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/modulealias/metaconfigure.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,15 +11,18 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Module Aliases Package
modulealiases package allows you to make module alias declarations via zcml,
-e.g.:
+e.g.::
-<modulealias module="some.existing.package" alias="some.nonexistent.package" />
+ <modulealias
+ module="some.existing.package"
+ alias="some.nonexistent.package" />
$Id$
"""
+__docformat__ = 'restructuredtext'
import sys
import types
Modified: Zope3/branches/ZopeX3-3.0/src/zope/modulealias/metadirectives.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/modulealias/metadirectives.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/modulealias/metadirectives.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""'zope:modulealias' directive interface
+$Id$
+"""
from zope.configuration.fields import PythonIdentifier
from zope.interface import Interface
Modified: Zope3/branches/ZopeX3-3.0/src/zope/modulealias/tests/test_modulealias.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/modulealias/tests/test_modulealias.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/modulealias/tests/test_modulealias.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1,3 +1,20 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Module Alias Tests
+
+$Id$
+"""
import unittest
import sys
from zope.configuration import xmlconfig
Modified: Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,4 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""Page Templates"""
+"""Page Templates
+
+$Id$
+"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/pagetemplatefile.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/pagetemplatefile.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/pagetemplatefile.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -14,6 +14,8 @@
"""Filesystem Page Template module
Zope object encapsulating a Page Template from the filesystem.
+
+$Id$
"""
import os, sys
import logging
Modified: Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/tests/test_basictemplate.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/tests/test_basictemplate.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/tests/test_basictemplate.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,6 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Basic Page Template tests
+
+$Id$
+"""
import unittest
from zope.pagetemplate.tests import util
Modified: Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/tests/test_ptfile.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/tests/test_ptfile.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/tests/test_ptfile.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1,5 +1,20 @@
-"""Tests of PageTemplateFile."""
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Tests of PageTemplateFile.
+$Id$
+"""
import os
import tempfile
import unittest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/publisher/tests/httprequest.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/publisher/tests/httprequest.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/publisher/tests/httprequest.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-Test request for writing tests that need HTTP requests.
+"""Test request for writing tests that need HTTP requests.
Note that this is used by tests in other packages.
Modified: Zope3/branches/ZopeX3-3.0/src/zope/publisher/tests/test_browserlanguages.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/publisher/tests/test_browserlanguages.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/publisher/tests/test_browserlanguages.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,6 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Test Browser Languages detector
+
+$Id$
+"""
import unittest
# Note: The expected output is in order of preference,
Modified: Zope3/branches/ZopeX3-3.0/src/zope/publisher/tests/test_ftp.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/publisher/tests/test_ftp.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/publisher/tests/test_ftp.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""FTP Publisher Tests
+
$Id$
"""
-
import sys
from cStringIO import StringIO
from unittest import TestCase, TestSuite, main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/_bootstrapfields.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/_bootstrapfields.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/_bootstrapfields.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Bootstrapping fields
+
$Id$
"""
from zope.interface import Attribute, providedBy, implements
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/_schema.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/_schema.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/_schema.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Schema convenience functions
+
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_boolfield.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_boolfield.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_boolfield.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Boolean field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_containerfield.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_containerfield.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_containerfield.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Container field tests
+
$Id$
"""
from UserDict import UserDict
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_date.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_date.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_date.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Date field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_datetime.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_datetime.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_datetime.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Datetime Field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_dictfield.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_dictfield.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_dictfield.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Dictionary field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_equality.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_equality.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_equality.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Field equality tests
+
$Id$
"""
from unittest import TestCase, TestSuite, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_field.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_field.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_field.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Generic field tests
+
$Id$
"""
from unittest import TestCase, TestSuite, main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_fieldproperty.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_fieldproperty.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_fieldproperty.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Field Properties tests
+
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_floatfield.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_floatfield.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_floatfield.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Float field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_interfacefield.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_interfacefield.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_interfacefield.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Interface field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_intfield.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_intfield.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_intfield.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Integer field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_iterablefield.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_iterablefield.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_iterablefield.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Iterable field tests
+
$Id$
"""
from UserDict import UserDict, IterableUserDict
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_listfield.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_listfield.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_listfield.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""List field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_objectfield.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_objectfield.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_objectfield.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-This set of tests exercises Objects.
+"""This set of tests exercises Object fields.
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_schema.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_schema.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_schema.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Schema field tests
+
$Id$
"""
from unittest import TestCase, main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_strfield.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_strfield.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_strfield.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""String field tests
+
$Id$
"""
from unittest import TestSuite, main, makeSuite
Modified: Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_tabcomplete.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_tabcomplete.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/schema/tests/test_tabcomplete.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,9 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Tests of the 'tab completion' example vocabulary.
-"""Tests of the 'tab completion' example vocabulary."""
-
+$Id$
+"""
import unittest
from zope.schema.interfaces import ITerm, IVocabularyQuery
Modified: Zope3/branches/ZopeX3-3.0/src/zope/security/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/security/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/security/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -4,18 +4,17 @@
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
-# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""Base security system
+"""Security Package
$Id$
"""
-
# TODO: There's a circular import problem with the proxy package.
# The proxy framework needs some refactoring, but not today.
import zope.proxy
Modified: Zope3/branches/ZopeX3-3.0/src/zope/security/setup.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/security/setup.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/security/setup.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -12,7 +12,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Security setup
+$Id$
+"""
from distutils.core import setup, Extension
setup(name="_Proxy", version = "0.1",
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/dualmodechannel.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/dualmodechannel.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/dualmodechannel.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Dual-mode channel
$Id$
"""
-
import asyncore
import socket
from time import time
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/ftp/server.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/ftp/server.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/ftp/server.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,25 +11,25 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""FTP Server
$Id$
"""
-
+import asyncore
import posixpath
import socket
from datetime import date, timedelta
from getopt import getopt, GetoptError
-import asyncore
+
from zope.security.interfaces import Unauthorized
-from zope.server.serverbase import ServerBase
+from zope.interface import implements
+from zope.server.buffers import OverflowableBuffer
+from zope.server.interfaces import ITask
from zope.server.interfaces.ftp import IFileSystemAccess
+from zope.server.interfaces.ftp import IFTPCommandHandler
from zope.server.linereceiver.lineserverchannel import LineServerChannel
-from zope.server.interfaces.ftp import IFTPCommandHandler
+from zope.server.serverbase import ServerBase
from zope.server.serverchannelbase import ChannelBaseClass
-from zope.server.buffers import OverflowableBuffer
-from zope.server.interfaces import ITask
-from zope.interface import implements
status_messages = {
'OPEN_DATA_CONN' : '150 Opening %s mode data connection for file list',
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/ftp/tests/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/ftp/tests/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/ftp/tests/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1 +1 @@
-#
+# Make this directory a package.
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/ftp/tests/test_ftpserver.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/ftp/tests/test_ftpserver.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/ftp/tests/test_ftpserver.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,35 +11,26 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""FTP Server tests
$Id$
"""
-
import asyncore
-
-import unittest
+import ftplib
import socket
+import unittest
+from time import time
from types import StringType
from StringIO import StringIO
-
from threading import Thread, Event
-from zope.server.taskthreads import ThreadedTaskDispatcher
-from zope.server.ftp.server import FTPServer, status_messages
-from zope.server.adjustments import Adjustments
+from zope.server.adjustments import Adjustments
+from zope.server.ftp.server import FTPServer, status_messages
from zope.server.ftp.tests import demofs
-
+from zope.server.taskthreads import ThreadedTaskDispatcher
from zope.server.tests.asyncerror import AsyncoreErrorHook
-
from zope.server.trigger import trigger
-
-import ftplib
-
-from time import time
-
-
td = ThreadedTaskDispatcher()
LOCALHOST = '127.0.0.1'
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/http/httpserver.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/http/httpserver.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/http/httpserver.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""HTTP Server
+
This server uses asyncore to accept connections and do initial
processing but threads to do work.
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/http/httpserverchannel.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/http/httpserverchannel.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/http/httpserverchannel.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""HTTP Server Channel
$Id$
"""
-
from zope.server.serverchannelbase import ServerChannelBase
from zope.server.http.httptask import HTTPTask
from zope.server.http.httprequestparser import HTTPRequestParser
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_commonaccesslogger.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_commonaccesslogger.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_commonaccesslogger.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Common Access Logger tests
$Id$
"""
-
import unittest
import logging
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_httpdate.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_httpdate.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_httpdate.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test HTTP date converters
$Id$
"""
-
import unittest
from zope.server.http.http_date import build_http_date, parse_http_date
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_httprequestparser.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_httprequestparser.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_httprequestparser.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""HTTP Request Parser tests
$Id$
"""
-
import unittest
from zope.server.http.httprequestparser import HTTPRequestParser
from zope.server.adjustments import Adjustments
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_httpserver.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_httpserver.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/http/tests/test_httpserver.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test HTTP Server
$Id$
"""
-
import unittest
from asyncore import socket_map, poll
import socket
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/interfaces/logger.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/interfaces/logger.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/interfaces/logger.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Logger interfaces
$Id$
"""
-
from zope.interface import Interface
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/linereceiver/lineserverchannel.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/linereceiver/lineserverchannel.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/linereceiver/lineserverchannel.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,11 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Line receiver channel
+This channels evaluates requests line by line. This is particular useful for
+protocols that use a line-based command structure.
+
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/logger/rotatingfilelogger.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/logger/rotatingfilelogger.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/logger/rotatingfilelogger.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,11 +11,12 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Rotating File Logger
+Rotates a log file in time intervals.
+
$Id$
"""
-
import time
import os
import stat
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/logger/socketlogger.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/logger/socketlogger.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/logger/socketlogger.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,11 +11,12 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Socket Logger
+Sends logging messages to a socket.
+
$Id$
"""
-
import asynchat
import socket
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/logger/sysloglogger.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/logger/sysloglogger.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/logger/sysloglogger.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Syslog Logger
+Writes log messages to syslog.
+
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/logger/tests/test_pythonlogger.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/logger/tests/test_pythonlogger.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/logger/tests/test_pythonlogger.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Python Logger tests
$Id$
"""
-
import unittest
import logging
from zope.interface.verify import verifyObject
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/maxsockets.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/maxsockets.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/maxsockets.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1,3 +1,20 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Find max number of sockets allowed.
+
+$Id$
+"""
# Medusa max_sockets module.
import socket
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/trigger.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/trigger.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/trigger.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,7 +11,10 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
+"""Trigger
+$Id$
+"""
import asyncore
import os
import socket
Modified: Zope3/branches/ZopeX3-3.0/src/zope/server/utilities.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/server/utilities.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/server/utilities.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -1,12 +1,20 @@
-# Copyright 2001-2002 Zope Corporation and Contributors. All Rights Reserved.
+##############################################################################
#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Server utility functions
+$Id$
+"""
def find_double_newline(s):
"""Returns the position just after a double newline in the given string."""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/tal/driver.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/tal/driver.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/tal/driver.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -12,8 +12,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-Driver program to test METAL and TAL implementation.
+"""Driver program to test METAL and TAL implementation.
Usage: driver.py [options] [file]
Options:
@@ -34,6 +33,8 @@
Leave TAL/METAL attributes in output
-i
Leave I18N substitution strings un-interpolated.
+
+$Id$
"""
import os
Modified: Zope3/branches/ZopeX3-3.0/src/zope/tal/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/tal/interfaces.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/tal/interfaces.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,11 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""Interface that a TAL expression implementation provides to the METAL/TAL implementation."""
+"""Interface that a TAL expression implementation provides to the METAL/TAL
+implementation.
+$Id$
+"""
from zope.interface import Attribute, Interface
Modified: Zope3/branches/ZopeX3-3.0/src/zope/tal/ndiff.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/tal/ndiff.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/tal/ndiff.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -54,6 +54,8 @@
sed -n '/^[+ ] /s/^..//p'
See module comments for details and programmatic interface.
+
+$Id$
"""
__version__ = 1, 5, 0
Modified: Zope3/branches/ZopeX3-3.0/src/zope/tal/runtest.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/tal/runtest.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/tal/runtest.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -12,10 +12,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Driver program to run METAL and TAL regression tests.
+
+$Id$
"""
-Driver program to run METAL and TAL regression tests.
-"""
-
import glob
import os
import sys
Modified: Zope3/branches/ZopeX3-3.0/src/zope/tal/setpath.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/tal/setpath.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/tal/setpath.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -16,6 +16,8 @@
If .path file isn't found in the directory of the setpath.py module, then try
to import ZODB. If that succeeds, we assume the path is already set up
correctly. If that import fails, an IOError is raised.
+
+$Id$
"""
# TODO: Why does this want to find ZODB ???
Modified: Zope3/branches/ZopeX3-3.0/src/zope/tal/talgettext.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/tal/talgettext.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/tal/talgettext.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -26,6 +26,8 @@
-u / --update <file>
Update the existing translation <file> with any new translation strings
found.
+
+$Id$
"""
import sys
import time
Modified: Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/markbench.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/markbench.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/markbench.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -12,8 +12,11 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-'''Run benchmarks of TAL vs. DTML'''
+"""Run benchmarks of TAL vs. DTML
+$Id$
+"""
+
import warnings
warnings.filterwarnings("ignore", category=DeprecationWarning)
Modified: Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/test_sourcepos.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/test_sourcepos.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/test_sourcepos.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -12,8 +12,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""Tests for TALInterpreter."""
+"""Tests for TALInterpreter.
+$Id$
+"""
import unittest
from StringIO import StringIO
Modified: Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/test_talgettext.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/test_talgettext.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/test_talgettext.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -12,8 +12,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""Tests for the talgettext utility."""
+"""Tests for the talgettext utility.
+$Id$
+"""
import sys
import unittest
Modified: Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/utils.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/utils.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/tal/tests/utils.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""Helper functions for the test suite."""
+"""Helper functions for the test suite.
+$Id$
+"""
import os
import sys
Modified: Zope3/branches/ZopeX3-3.0/src/zope/tales/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/tales/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/tales/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,5 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""Template Attribute Language - Expression Syntax"""
+"""Template Attribute Language - Expression Syntax
+$Id$
+"""
+
Modified: Zope3/branches/ZopeX3-3.0/src/zope/testing/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/testing/__init__.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/testing/__init__.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-Set up testing environment
+"""Set up testing environment
$Id$
"""
Modified: Zope3/branches/ZopeX3-3.0/src/zope/testing/loghandler.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/testing/loghandler.py 2004-08-12 19:56:31 UTC (rev 27081)
+++ Zope3/branches/ZopeX3-3.0/src/zope/testing/loghandler.py 2004-08-12 20:03:58 UTC (rev 27082)
@@ -11,8 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""logging handler for tests that check logging output."""
+"""logging handler for tests that check logging output.
+$Id$
+"""
import logging
class Handler(logging.Handler):
More information about the Zope3-Checkins
mailing list