Re: [Zope3-dev] Correction to RFC
On Fri, 2006-01-27 at 16:38 -0700, Shane Hathaway wrote: It's checked in, but perhaps there is some other code that also needs to use the custom traceback formatter. The conversion is trivial. Replace this: from traceback import print_exception print_exception(...) with this: from zope.exceptions.exceptionformatter import print_exception print_exception(...) Thought so! I'm just not sure whether this is intended behaviour. What's the current policy about displaying tracebacks to the end-user in Zope 3? -- gocept gmbh co. kg - forsterstraße 29 - 06112 halle/saale - germany www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 - fax +49 345 122 9889 1 - zope and plone consulting and development signature.asc Description: This is a digitally signed message part ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Re: Correction to RFC
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Theune wrote: On Fri, 2006-01-27 at 16:38 -0700, Shane Hathaway wrote: It's checked in, but perhaps there is some other code that also needs to use the custom traceback formatter. The conversion is trivial. Replace this: from traceback import print_exception print_exception(...) with this: from zope.exceptions.exceptionformatter import print_exception print_exception(...) Thought so! I'm just not sure whether this is intended behaviour. What's the current policy about displaying tracebacks to the end-user in Zope 3? The policy seems to be that the end user should *never* see the traceback, unless she selects the '++skin++Debug' skin *and* the admin configures inclusion of the 'zope.app.debug' package. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD2/lF+gerLs4ltQ4RAqVpAJ408lAfr/qAgr8RXHQufyCleNTZiQCeKWgX OrpMsZSxywRiYDMGh77WjXM= =EGCT -END PGP SIGNATURE- ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Re: Deploying WSGI Apps with Zope 3.2+
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Shane Hathaway wrote: Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sidnei da Silva wrote: On Thu, Jan 26, 2006 at 02:02:19PM +, Chris Withers wrote: | Sidnei da Silva wrote: | | My original intention was to put the config file location in the | ZConfig schema, but that's *wy* too painful right now. | | What's the specific problem here? I find adding to ZConfig schemas | pretty easy... Yet you find ZCML declaring namespaces in ZCML files annoying *wink*. Sometimes I don't understand you :) +1 to that. I think Chris doesn't really believe in the Second Law of Python (according to the prophet Peters). No, Chris just doesn't like XML namespaces. You can still have explicitness without XML namespaces. I think I'm starting to grasp the XML division among Zope developers. ZConfig schema definitions use a conventional style of XML with deeply nested elements, text nodes, and no namespaces, while ZCML uses its own style with minimal nesting, many attributes, and many namespaces. This style is hardly unique to ZCML. Many XML languages work this way, including, for example, XML Schema Definitions. The XML folk talk about document-centric versus data-centric applications as having essentially incompatible semantics for their XML; I think we are staring at a similar split. Using elements instead of attiributes has the downside that constraining the type of the element is much trickier when spelling pattern-based schema-validation templates. Elements also tend to introduce spurious whitespace problems when used for semanticall simple values. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD2/q6+gerLs4ltQ4RAqydAJ93fnitXiwqEvNDChEIrphI8cAUugCfbJ/0 ZgNgLaJd5DdDw40GG2nYkqs= =vfly -END PGP SIGNATURE- ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com