Hi,
I've stumbled across this interesting behaviour:
>>> p = ((1, 2),)
>>> zip(*(p * 10))
[(1, 1, 1, 1, 1, 1, 1, 1, 1, 1), (2, 2, 2, 2, 2, 2, 2, 2, 2, 2)]
>>> zip(*(p * 10))
Traceback (most recent call last):
File , line 0, in input##10
TypeError: zip() takes at most 0 arguments (10 given)
Upon the first-time calling the method it is a "ReflectedMethod" object, this
is then optimized (compiled?) to an "OptimizedFunctionAny" object somewhere
along the line, which appears to have problems accepting more than 5
parameters (according to the source code, anyway.)
This seems like a pretty serious issue. Is there any way I can get around it
in the meanwhile?
Regards
--
Jonathan
When you meet a master swordsman,
show him your sword.
When you meet a man who is not a poet,
do not show him your poem.
-- Rinzai, ninth century Zen master
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com