[Python-Dev] simple syntax error bombs interpreter

Michael Hudson mwh21@cam.ac.uk
12 Jul 2000 17:48:16 +0100


"Fredrik Lundh" <effbot@telia.com> writes:

> using my latest Python 2.0 build, the interpreter
> bombs if I type the following two commands:
> 
> >>> def a(b):
> ...     global b
> ...

Hmm.  Mine doesn't.  What platform, stack, etc?

> (1.5.2 says "name is local and global").

That's what mine says.  "ConflictingScopeError" anyone?  It's not a
syntax error in my book...

Cheers,
M.