A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006281.html below:

[Python-Dev] simple syntax error bombs interpreter

[Python-Dev] simple syntax error bombs interpreter [Python-Dev] simple syntax error bombs interpreterMichael 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.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4