[Python-bugs-list] [ python-Bugs-439798 ] Nested scopes core dump
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 09 Jul 2001 12:02:53 -0700
Bugs item #439798, was opened at 2001-07-09 12:02
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=439798&group_id=5470
Category: Parser/Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Evan Simpson (evansimpson)
Assigned to: Nobody/Anonymous (nobody)
Summary: Nested scopes core dump
Initial Comment:
For an interesting error, followed by a core dump:
from __future__ import nested_scopes
def f(x):
class C:
def m(self):
return x
x
The bug occurs when the same variable name appears in
both the class scope and the method scope.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=439798&group_id=5470