Bugs item #1186353, was opened at 2005-04-20 09:37 Message generated for change (Comment added) made by ncoghlan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1186353&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Parser/Compiler Group: AST Status: Open Resolution: None Priority: 5 Submitted By: Brett Cannon (bcannon) >Assigned to: Brett Cannon (bcannon) Summary: [AST] automatic unpacking of arguments broken Initial Comment: The code ``(lambda (x, y): x)((3, 5))`` fails because the passed-in tuple is not unpacked into the arguments. ---------------------------------------------------------------------- >Comment By: Nick Coghlan (ncoghlan) Date: 2005-05-28 20:34 Message: Logged In: YES user_id=1038590 After looking in all the wrong places, it turned out to be something simple in the compiler. I factored out the relevant code from the function compilation, so that lambda compilation can use it too. Assigning to Brett for review. ---------------------------------------------------------------------- Comment By: Nick Coghlan (ncoghlan) Date: 2005-05-28 19:41 Message: Logged In: YES user_id=1038590 Investigating lambda behaviour, as per comment on 1190011 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1186353&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com