Jython inherit from Java class
Kent Johnson
kent at kentsjohnson.com
Fri Feb 10 15:07:07 EST 2006
Mark Fink wrote:
> I observed something strange when I tried to compile the jython class:
> 'assert' is a keyword, and may not be used as an identifier
> (try -source 1.3 or lower to use 'assert' as an identifier)
> public static void assert(PyObject test, PyObject message) {
> Looks like something in the Jython core causes the problem
> (org\python\core\Py.java) any Ideas what I can do?
I think jythonc is not compatible with Java 1.5, try compiling with 1.4.
Kent
More information about the Python-list
mailing list