Hagen Fürstenau <[email protected]> added the comment: I'm getting confused about whether it's actually desired behaviour that generators can be star arguments.
The error message seems to say it's not: "argument after * must be a sequence". The docs seem to agree: "If the syntax *expression appears in the function call, expression must evaluate to a sequence." However test_extcall specifically tests function calls with (non-sequence) iterables as star arguments. _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue4806> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
