[Python-Dev] Re: Capabilities

Samuele Pedroni pedronis@bluewin.ch
Sun, 9 Mar 2003 12:30:09 +0100

From: "Jim Fulton" <jim@zope.com>
> For example, you can't proxy exceptions without
> breaking exception handling. In Zope, we rely on restricted execution to
> certian kinds of introspection on exceptions and exception classes.  In Zope,
> also don't proxy None, because None is usually checked for identity. We also
> proxy strings, and numbers.
That was a question I was asking myself about proxies: exception handling.
But I never had the time to play with it to check.

Does that mean that restricted code can get unproxied instances of classic
classes as caught exceptions?