Consider the following Python code:
def f(*args): for a in args: pass foo = [\'foo\', \'bar\', \'baz\'] # Python generator expressions FTW gen
Why not look and see what gen is in f()? Add print args as the first line. If it's still a generator object, it'll tell you. I would expect the argument unpacking to turn it into a tuple.
gen
f()
print args