9 Mar
2003
9 Mar
'03
11:30 a.m.
For example, you can't proxy exceptions without breaking exception handling. In Zope, we rely on restricted execution to
From: "Jim Fulton"
certian kinds of introspection on exceptions and exception classes. In Zope, we also don't proxy None, because None is usually checked for identity. We also don't 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?