[Zope3-checkins] CVS: Zope3/src/zope/publisher - base.py:1.14
browser.py:1.23 publish.py:1.12
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Feb 16 16:37:49 EST 2004
Update of /cvs-repository/Zope3/src/zope/publisher
In directory cvs.zope.org:/tmp/cvs-serv6306/src/zope/publisher
Modified Files:
base.py browser.py publish.py
Log Message:
Corrected, typos, whitespaces and added docs.
=== Zope3/src/zope/publisher/base.py 1.13 => 1.14 ===
--- Zope3/src/zope/publisher/base.py:1.13 Fri Feb 13 21:19:20 2004
+++ Zope3/src/zope/publisher/base.py Mon Feb 16 16:37:19 2004
@@ -11,10 +11,13 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-'''Response Output formatter
+"""Base implementations of the Publisher objects
+
+Specifically, 'BaseRequest', 'BaseResponse', and 'DefaultPublication' are
+specified here.
$Id$
-'''
+"""
import traceback
from cStringIO import StringIO
=== Zope3/src/zope/publisher/browser.py 1.22 => 1.23 ===
--- Zope3/src/zope/publisher/browser.py:1.22 Fri Nov 21 12:12:34 2003
+++ Zope3/src/zope/publisher/browser.py Mon Feb 16 16:37:19 2004
@@ -11,11 +11,15 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Browser-specific Publisher classes
+
+Here we define the specific 'BrowserRequest' and 'BrowserResponse' class. The
+big improvement of the 'BrowserRequest' to 'HTTPRequest' is that is can handle
+HTML form data and convert them into a Python-native format. Even file data is
+packaged into a nice, Python-friendly 'FileUpload' object.
$Id$
"""
-
import re
from types import ListType, TupleType, StringType, StringTypes
from cgi import FieldStorage, escape
=== Zope3/src/zope/publisher/publish.py 1.11 => 1.12 ===
--- Zope3/src/zope/publisher/publish.py:1.11 Wed May 28 11:46:14 2003
+++ Zope3/src/zope/publisher/publish.py Mon Feb 16 16:37:19 2004
@@ -17,7 +17,6 @@
$Id$
"""
-
import sys
from zope.publisher.interfaces import Retry
from zope.proxy import removeAllProxies
@@ -67,7 +66,7 @@
def mapply(object, positional=(), request={}):
__traceback_info__ = object
- # we need deep access for intrspection. Waaa.
+ # we need deep access for introspection. Waaa.
unwrapped = removeAllProxies(object)
unwrapped, wrapperCount = unwrapMethod(unwrapped)
More information about the Zope3-Checkins
mailing list