
faassen at startifact
Sep 17, 2009, 1:49 PM
Post #4 of 5
(725 views)
Permalink
|
|
Re: Redesign suggestion for IReRaiseException
[In reply to]
|
|
Hey, Christian Theune wrote: >> This would be an interface on exceptions, right? Would it try to adapt >> exceptions raised to IPublisherExceptionInfo and if successful look at >> this attribute? So an exception can either implement this interface >> directly, or you could register an adapter for exceptions? > > Yes, I'd say it would perform an adaptation using > `IPublishExceptionInfo(exc)` so it can either implement it directly or > adapt. And if the adapter is not available, it'll just do the default, correct? >> In general I'm fine with modifying this behavior on trunk. We also >> backported this behavior to the 3.4 line of zope.publisher so we can use >> it with Grok, which on zope.publisher 3.4.9. I suggest we maintain the >> current behavior in zope.publisher 3.4 but I'm fine with changing the >> behavior of the trunk. When we upgrade to that version we can make the >> necessary adjustments in Grok too. > > I agree. +1 to going to this on the trunk. Regards, Martijn _______________________________________________ Zope-Dev maillist - Zope-Dev [at] zope https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
|