[Zope-Checkins] CVS: Zope2 - BaseRequest.py:1.13 BaseResponse.py:1.4 HTTPRequest.py:1.20 HTTPResponse.py:1.17 Publish.py:1.135 Test.py:1.33 __init__.py:1.8

Jim Fulton jim@tarzan.digicool.com
Wed, 4 Aug 1999 14:05:30 -0400


Update of /cvs-repository/Zope2/lib/python/ZPublisher
In directory tarzan.digicool.com:/projects/users/jim/lib/python/ZPublisher

Modified Files:
	BaseRequest.py BaseResponse.py HTTPRequest.py HTTPResponse.py 
	Publish.py Test.py __init__.py 
Log Message:
Hold on to your butts!

This is a pretty significant restructuring of ZPublisher to 
allow a new module hook for handling errors.  There are two goals
in this:

  - To allow Zope to retry a request when ZODB raises a ConflictError, and

  - To move reformatting of exception using standard_error_message
    out to the publisher level so that:

    - Errors don't get obfuscated by error handling done by
      sub-documents and external methods, and

    - Errors raised by the publisher (e.g. for input errors, 
      not-found errors, system exit, etc) get prettified.