Hi Armin,
On Fri, Jan 07, 2005 at 19:10 +0000, Armin Rigo wrote:
> On Fri, Jan 07, 2005 at 07:40:09PM +0100, holger krekel wrote:
> > you'll now see (approximately):
> > NameError: global name w_NameError is not defined, but FlowObjSpace
> > has no NameError!
>
> No, the point is that you'll now see:
>
> NameError: global name xyzzy is not defined, but FlowObjSpace
> has no NameError!
>
> where 'xyzzy' is the name of the particular variable in the user source code
> that is not defined.
ah ok, right. But your suggestion of providing a specific
w_NameError (maybe just None) and an appropriate assertion in
OperationError.__init__ still sounds nicer and more generic.
holger
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev