[Patches] [ python-Patches-1167628 ] [AST] Generator expressions
SourceForge.net
noreply at sourceforge.net
Mon Mar 21 19:02:30 CET 2005
Patches item #1167628, was opened at 2005-03-21 14:45
Message generated for change (Comment added) made by jpe
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1167628&group_id=5470
Category: Core (C code)
Group: AST
Status: Open
Resolution: None
Priority: 5
Submitted By: Nick Coghlan (ncoghlan)
Assigned to: Brett Cannon (bcannon)
Summary: [AST] Generator expressions
Initial Comment:
Adds generator expression support to the AST branch.
Support is sufficient to allow test_grammar to pass.
Also eliminates the display of interim results within functions
compiled at the interactive prompt, and the allocation of large
amounts of memory when zero is passed to asdl_seq_new.
----------------------------------------------------------------------
Comment By: John Ehresman (jpe)
Date: 2005-03-21 18:02
Message:
Logged In: YES
user_id=22785
This triggers an assert with a genexp in an argument because
the node is not a testlist_gexp, e.g. foo(i for i in
range(5)). It's unclear what to do with foo(a = i for i in
range(5); see bug # 1167751
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1167628&group_id=5470
More information about the Patches
mailing list