From: <bc...@wo...> - 2000-11-28 23:09:53
|
[Ype Kingma] >Hello Jythoners, > >First a question just out of curiosity. >Why was the 'p' dropped from the name JPython? The JPython license forced us to find another name. >Where has Monty's flying circus gone? > >Ok. A bit more serious now. I downloaded 20a1 and >tried to run the regression tests from python 2.0. >This worked to some extent after "adapting" the main program >regrtest.py to some modules not available in java. I did a diff between the CPython2.0 and your version of regrtest and it seems to be the getopt module. But the getopt module is part of the jython2.0a1 and is install along with core jython. At least it works for me. >Below is the summary of the test output. >I suppose you have done sth. like this yourself. >Still, would you be interested in more details? >Does this make any sense? If so, can I suggest to >include the regression test in the distribution of Jython? > > >The details (terse): > >Slightly modified regrtest.py from python2.0 Lib/test >running under jython20a1 running under Blackdown java 1.2.2 for powerpc >with 60Mb of memory (the vm fails with a segfault at the default 30Mb >during a finalize, so I concluded the garbage collector is not yet >completely sane.) >All this running under Suse Linux 6.4 (kernel 2.2.14 with some additions). > >I copied the files from python2.0/Lib/test/*.py to a separate directory >and ran jython regrtest.py. The output ends ao. with the following: > >16 tests OK. >11 tests failed: >test_opcodes >test_operations >test_StringIO This we can fix. >test_class >test_format We can fix test_format. >test_longexp >test_pow We can fix test_pow. >test_socked >test_ucn We can fix test_ucn. >test_unicode test_unicode already works but there are some acceptable differences in the output. >test_unicodedata There will always be difference here because CPython is using Unicode-3.0 and Java is using Unicode-2.x regards, finn |