[ZPT] Alternate Paths Question

Evan Simpson evan@zope.com
Tue, 11 Sep 2001 09:05:27 -0400


Chris Withers wrote:

> How does the alternate paths thing decide that a path doesn't exist? I'm
> guessing some kind of exception catching? If so, what exceptions and where is
> this documented?


AttributeError, KeyError, TypeError, IndexError, and 'Unauthorized' are 
caught during path traversal (not while calling, though).  It's 
"documented" in Expressions.py :-(

Cheers,

Evan @ Zope