[Zope] SaneBrains 1.0.0 Released!
Stepper 1.0.0 Released! This is a framework for performing asynchronous tasks on Zope servers. It is written as a Zope Product and can be used in several different ways: - for running sequences of migration code from the console. - for running batch processes via cron - for unit testing pieces of migration code or batch processes - for sharing asynchronous code between multiple contexts such as a migration run and a plone customisation policy. It is compatible with both Windows and Unix. For more information, please see: http://www.simplistix.co.uk/software/zope/stepper cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] SaneBrains 1.0.0 Released!
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 maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] SaneBrains 1.0.0 Released!
Chris Withers wrote at 2005-8-23 10:49 +0100: 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 Sad that the long discussion could not convince you that restrictedTraverse is not the correct approach... -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )