cy99 / shedskin

Automatically exported from code.google.com/p/shedskin
0 stars 0 forks source link

argument (un)packing is not supported #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Code example:
def normalize(space, *args):
    return space + list(args) + space

Error:
*ERROR* libpylife.py:59: argument (un)packing is not supported

Original issue reported on code.google.com by frap...@gmail.com on 22 Jan 2010 at 6:27

GoogleCodeExporter commented 8 years ago
:-) this won't be supported for a long time, if ever. this is also mentioned in 
the
tutorial. but thanks for reporting.

Original comment by mark.duf...@gmail.com on 22 Jan 2010 at 6:39

GoogleCodeExporter commented 8 years ago
Yes, I've read :) I would like to ask if there is a workaround by "mark.dufour" 
(tm)
for this :)

Original comment by frap...@gmail.com on 22 Jan 2010 at 6:58

GoogleCodeExporter commented 8 years ago
I'm not sure what kind of workaround that would be.. it's not possible to pass
'list(a, b, c, ..)' to the function instead of a, b, c..? 

Original comment by mark.duf...@gmail.com on 22 Jan 2010 at 7:43