SaneBrains 1.0.0 Released!

Chris Withers <[email protected]>
Newsgroups gmane.comp.web.zope.announce
Message-ID <430AF120.2070007__8976.29118194363$1124803769$gmane$org@simplistix.co.uk>
SaneBrains patches ZCatalog's brain objects such that they don't 
unnecessarily catch exceptions.

The brain objects are patched such that:

- the getObject method never tries to catch any exceptions, it just uses 
a simple restrictedTraverse to turn the path stored in the ZCatalog into 
an object

- the _unrestrictedGetObject method never tries to catch any exceptions, 
it just uses a simple unrestrictedTraverse to turn the path stored in 
the ZCatalog into an object

As a bonus, this product also allows you to do the following from 
untrusted code (ie: Python Scripts):

   from zExceptions import Unauthorized

For more information, please see: 
http://www.simplistix.co.uk/software/zope/sanebrains

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk

_______________________________________________
Zope-Announce maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists - 
 Users: http://mail.zope.org/mailman/listinfo/zope
 Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.