Thanks again Diez,
Another misinterpretation on my behalf.
By the way, I'm not after speed, I'm looking to freeze versions of what
From: deets@... [mailto:deets@...
Sent: 23 February 2007 14:53
Cc: DOUTCH GARETH-GDO003
Subject: Re: [Jython-users] JythonC and exec()
On Friday 23 February 2007 15:38, DOUTCH GARETH-GDO003 wrote:
> I believe that dynamically executed statements such as exec() cannot=20
> be used if I compile to .jar, is that correct?
No, it's not. You have a misconception here: compilation of jython is
not compiling it to byte-code. It "only" generates a java-class that
exhibits declared methods, and thus is a way to make a piece of
java-code aware of something actually written in jython. For example,
you can create a struts action that way, which you then can refer to by
It is _not_ a way translate python to java bytecode!!! It will still be
interpreted, and you can do whatever you want. And of course, you don't
get any speed gains!