[Patches] [ python-Patches-752911 ] ast-branch: multiple function fixes
SourceForge.net
noreply@sourceforge.net
Wed, 11 Jun 2003 14:08:29 -0700
Patches item #752911, was opened at 2003-06-11 16:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=752911&group_id=5470
Category: Parser/Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: logistix (logistix)
Assigned to: Nobody/Anonymous (nobody)
Summary: ast-branch: multiple function fixes
Initial Comment:
This patch fixes:
- handling of keywords, varargs, and kwargs on function
definition
- handing of keywords, varargs, and kwargs on function
call
- handling of keywords for lambdas
- function chaining (foo().bar().baz())
Applying this uncovers some another bug that at least:
- cause a core dump upon import of sre_parse
- cause an infinate loop upon import of ntpath
I believe I've tracked down the problem to the
generation of bad bytecode for nested loops, as in:
for x in 1,2:
for y in 3,4:
print x,y
This causes problems with Subpattern.dump() in
sre_parse and ntpath's commonprefix().
I'll try to figure out what's wrong with nested loops next.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=752911&group_id=5470