public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
* Jython status.
@ 2001-10-17 22:03 Alexandre Petit-Bianco
  2001-10-17 23:07 ` Anthony Green
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Petit-Bianco @ 2001-10-17 22:03 UTC (permalink / raw)
  To: rhug-rhats

I can now run Jython (given certain file configuration hacks which
should go away) enough so that it runs the Jython test suite (which is
based on the Python test suite.)

We're not behaving like the JDK interpreted Jython for this test:

  r(SystemExit)
  import sys
  try: sys.exit(0)
  except SystemExit: pass

We seem to be really calling exit, whereas the JDK ran one doesn't
quite quit and let the next test run. I'll have to debug.

The serialization tests are failing, I'm guessing this could be a
libgcj bug. Some other tests are failing because our libgcj isn't
complete enough, for example, we don't have `awt.Color.RGBtoHSB' which
is used to conduct a test on arrays...

At this point, I'm hitting the failures I would get with the regular
Jython, we're sometimes doing a little better because we are avoiding
Sun's JDK bugs.

I need to fix the general problem for Jython now which is what to find
where. It needs a path to some python files it finds only if I put
them right under its nose. It's also still necessary to put a symlink
to <libgcj_buildir>.../java in the cwd in order for Jython to be able
to load information about the Java objects.

Note that if I'm using gcj, I don't need the symlink, so the binaries
and the VM differ in terms of knowing where things could be found --
does it ring a bell to anyone?

./A

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Jython status.
  2001-10-17 22:03 Jython status Alexandre Petit-Bianco
@ 2001-10-17 23:07 ` Anthony Green
  2001-10-17 23:30   ` Alexandre Petit-Bianco
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony Green @ 2001-10-17 23:07 UTC (permalink / raw)
  To: apbianco, rhug-rhats

Alex wrote:
> I need to fix the general problem for Jython now which is what to find
> where. It needs a path to some python files it finds only if I put
> them right under its nose. It's also still necessary to put a symlink
> to <libgcj_buildir>.../java in the cwd in order for Jython to be able
> to load information about the Java objects.
>
> Note that if I'm using gcj, I don't need the symlink, so the binaries
> and the VM differ in terms of knowing where things could be found --
> does it ring a bell to anyone?

I'm not sure I understand all this.   Perhaps if I could see it in action...

Do you think you could import this stuff now?  BTW - remember to use "-ko" on
your cvs import in order to maintain the original rcs ID strings.  Not a big
deal - but I noticed that this wasn't done for gnu.readline.

AG


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Jython status.
  2001-10-17 23:07 ` Anthony Green
@ 2001-10-17 23:30   ` Alexandre Petit-Bianco
  2001-10-18  1:03     ` Anthony Green
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Petit-Bianco @ 2001-10-17 23:30 UTC (permalink / raw)
  To: Anthony Green; +Cc: rhug-rhats

Anthony Green writes:

> Do you think you could import this stuff now?

Pretty soon. But right now it can't be installed and expected to
work.

>  BTW - remember to use "-ko" on your cvs import in order to maintain
> the original rcs ID strings.  Not a big deal - but I noticed that
> this wasn't done for gnu.readline.

OK, I will. Thanks.

./A

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Jython status.
  2001-10-17 23:30   ` Alexandre Petit-Bianco
@ 2001-10-18  1:03     ` Anthony Green
  0 siblings, 0 replies; 4+ messages in thread
From: Anthony Green @ 2001-10-18  1:03 UTC (permalink / raw)
  To: apbianco; +Cc: rhug-rhats

Alex wrote:
> Pretty soon. But right now it can't be installed and expected to
> work.

I don't think that matters, as long as it builds at least. 

AG


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-10-18  1:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-17 22:03 Jython status Alexandre Petit-Bianco
2001-10-17 23:07 ` Anthony Green
2001-10-17 23:30   ` Alexandre Petit-Bianco
2001-10-18  1:03     ` Anthony Green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).