durusmail: quixote-users: [PATCH] _q_exception_handler during _q_lookup
_q_exception_handler during _q_lookup
2003-05-27
Jason Sibre (2 parts)
2003-06-16
Jason Sibre (2 parts)
[PATCH] _q_exception_handler during _q_lookup
Neil Schemenauer
2003-06-20
Hi Jason,

Your patch makes good sense.  In fact, I'm pretty sure namespace_stack
worked that way before _traverse_url() was factored out of the Publisher
class.  The current behavior was not intended when I implemented the
_q_exception_handler feature.

> The Cons:
>  - It's very likely this change will break existing code.  I can't
>  speculate how much, but any apps which are handling traversal-time
>  exceptions (in the root _q_exception_handler) that also have
>  _q_exception_handlers in other areas further down URLs will find that
>  the deeper handlers are catching some exceptions they didn't used to
>  see.

I'll make a note in doc/upgrading.txt.

  Neil

reply