[Zope-Checkins] CVS: Zope/lib/python/Products/Sessions/help - SessionInterfaces.py:1.6

Chris McDonough chrism@zope.com
Wed, 21 Nov 2001 17:36:51 -0500


Update of /cvs-repository/Zope/lib/python/Products/Sessions/help
In directory cvs.zope.org:/tmp/cvs-serv8883/help

Modified Files:
	SessionInterfaces.py 
Log Message:
Browser Id Manager is no longer __replaceable__ = UNIQUE, meaning
that other things named browser_id_manager can be created in subfolders.

Wrap transient data objects only in session data manager upon return.
Previously, they had been wrapped also in session data container.

Took out clever traversal error logging code in fear that it would
bloat the ZODB.

Added SessionDataManagerErr and BrowserIdManagerErr to API docs and
made them importable within a PythonScript.

Extended test suite with request-autopopulate tests.



=== Zope/lib/python/Products/Sessions/help/SessionInterfaces.py 1.5 => 1.6 ===
 """
 
-import Interface
-
-class BrowserIdManagerInterface(
-    Interface.Base
-    ):
+class BrowserIdManagerInterface:
     """
     Zope Browser Id Manager interface.
 
@@ -128,7 +124,7 @@
 
         Permission required: Access contents information
 
-        Raises:  BrowserIdManagerErr.  If ill-formed browser id
+        Raises:  BrowserIdManagerErr if ill-formed browser id
         is found in REQUEST.
         """
 
@@ -192,9 +188,7 @@
         a browser id namespace at the time of the call.
         """
 
-class SessionDataManagerInterface(
-    Interface.Base
-    ):
+class SessionDataManagerInterface:
     """
     Zope Session Data Manager interface.
 
@@ -239,4 +233,26 @@
         Permission required: Access arbitrary user session data
         """
 
+class SessionDataManagerErr:
+    """
+    Error raised during some session data manager operations, as
+    explained in the API documentation of the Session Data Manager.
+
+    This exception may be caught in PythonScripts.  A successful
+    import of the exception for PythonScript use would need to be::
+
+       from Products.Sessions import SessionDataManagerErr
+    """
+
+class BrowserIdManagerErr:
+    """
+    Error raised during some browser id manager operations, as
+    explained in the API documentation of the Browser Id Manager.
+
+    This exception may be caught in PythonScripts.  A successful
+    import of the exception for PythonScript use would need to be::
+
+       from Products.Sessions import BrowserIdManagerErr
+    """
+