[Python-bugs-list] [ python-Bugs-784075 ] Fatal Python error: unknown scope

SourceForge.net noreply@sourceforge.net
Wed, 06 Aug 2003 03:38:21 -0700


Bugs item #784075, was opened at 2003-08-06 11:25
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=784075&group_id=5470

Category: Parser/Compiler
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Marel Baczynski (imbaczek)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fatal Python error: unknown scope

Initial Comment:
The code:

def g(a=None, b, c=lambda: None): g

Python 2.3/Win98, confirmed in current CVS.

----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2003-08-06 11:38

Message:
Logged In: YES 
user_id=6656

Ouch.

Probably the best thing to do is check for "non-default
argument follows default argument" *before* doing the
symtable thing.

The relavent code is confusing, though.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=784075&group_id=5470