Message1488

Author nhiro
Recipients
Date 2007-02-18.17:15:29
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
When I call a function which take byte[] as its argument
(for example javax.sound.midi.SysexMessage#	setMessage(int status, byte[] data, int length))

>>> import javax.sound.midi.SysexMessage as S
>>> s = S()
>>> s.setMessage(0xF0, [0x7E, 0xFF, 0x09, 0x01, 0xF7], 5)

it throws an error.

TypeError: setMessage(): 2nd arg can't be coerced to byte[]

This code works well on jython2.1.
History
Date User Action Args
2008-02-20 17:17:45adminlinkissue1662920 messages
2008-02-20 17:17:45admincreate