Issue1541355

classification
Title: jythonc generates PyObject._callextra call with bad args
Type: Severity: normal
Components: Jythonc compiler Versions:
Milestone:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: dustin19, fwierzbicki
Priority: normal Keywords: patch

Created on 2006-08-16.15:11:00 by dustin19, last changed 2009-03-14.02:20:44 by fwierzbicki.

Files
File name Uploaded Description Edit Remove
SrcGenCompiler.py.diff dustin19, 2006-08-16.15:11:00 diff file of SrgGenCompiler
Messages
msg2530 (view) Author: JAC (dustin19) Date: 2006-08-16.15:11:00
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.
msg4286 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2009-03-14.02:20:44
jythonc is no longer maintained.
History
Date User Action Args
2009-03-14 02:20:44fwierzbickisetstatus: open -> closed
resolution: wont fix
messages: + msg4286
nosy: + fwierzbicki
2008-11-03 20:05:15fwierzbickisetcomponents: + Jythonc compiler, - None
2006-08-16 15:11:00dustin19create