Message2530
As best as I could tell, when jython is generating a
call to PyObjects._callextra to handle calls made using
the * or ** syntax, it is filling in empty * or **
arguments with Py.None, rather than the null that
_callextra is expecting. As such, _callextra generates
an Exception with either "argument after * must be a
sequence" or "argument after ** must be a dictionary"
when there is no * or ** present in the call, respectively.
I've attached a diff file of SrcGenCompiler.py that
seems to take care of the problem (at least in my
testing). I believe it is now treating the * and ** as
CodeCompiler.java does in visitCall, inserting them as
null rather than Py.None. |
|
Date |
User |
Action |
Args |
2008-02-20 17:18:34 | admin | link | issue1541355 messages |
2008-02-20 17:18:34 | admin | create | |
|