Jython inherit from Java class
Frank LaFond
santafefrank at cybermesa.com
Fri Feb 10 22:37:07 EST 2006
Jython 2.2 Alpha 1 supports Java 1.5
Frank.
Kent Johnson wrote:
> 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