You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(38) |
Nov
(98) |
Dec
(58) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(114) |
Feb
(123) |
Mar
(96) |
Apr
(66) |
May
(84) |
Jun
(72) |
Jul
(128) |
Aug
(126) |
Sep
(82) |
Oct
(80) |
Nov
(148) |
Dec
(55) |
| 2002 |
Jan
(137) |
Feb
(85) |
Mar
(118) |
Apr
(67) |
May
(71) |
Jun
(28) |
Jul
(69) |
Aug
(48) |
Sep
(83) |
Oct
(79) |
Nov
(54) |
Dec
(32) |
| 2003 |
Jan
(44) |
Feb
(47) |
Mar
(59) |
Apr
(57) |
May
(43) |
Jun
(45) |
Jul
(44) |
Aug
(39) |
Sep
(27) |
Oct
(62) |
Nov
(17) |
Dec
(23) |
| 2004 |
Jan
(41) |
Feb
(51) |
Mar
(38) |
Apr
(30) |
May
(25) |
Jun
(12) |
Jul
(11) |
Aug
(27) |
Sep
(16) |
Oct
(56) |
Nov
(23) |
Dec
(29) |
| 2005 |
Jan
(75) |
Feb
(82) |
Mar
(50) |
Apr
(77) |
May
(19) |
Jun
(104) |
Jul
(47) |
Aug
(42) |
Sep
(28) |
Oct
(143) |
Nov
(62) |
Dec
(13) |
| 2006 |
Jan
(20) |
Feb
(10) |
Mar
(59) |
Apr
(45) |
May
(25) |
Jun
(129) |
Jul
(162) |
Aug
(91) |
Sep
(15) |
Oct
(39) |
Nov
(186) |
Dec
(191) |
| 2007 |
Jan
(134) |
Feb
(140) |
Mar
(106) |
Apr
(77) |
May
(92) |
Jun
(63) |
Jul
(233) |
Aug
(102) |
Sep
(119) |
Oct
(63) |
Nov
(68) |
Dec
(32) |
| 2008 |
Jan
(69) |
Feb
(91) |
Mar
(129) |
Apr
(44) |
May
(18) |
Jun
(53) |
Jul
(50) |
Aug
(25) |
Sep
(11) |
Oct
(28) |
Nov
(67) |
Dec
(36) |
| 2009 |
Jan
(20) |
Feb
(24) |
Mar
(66) |
Apr
(53) |
May
(48) |
Jun
(48) |
Jul
(59) |
Aug
(82) |
Sep
(49) |
Oct
(30) |
Nov
(16) |
Dec
(16) |
| 2010 |
Jan
(52) |
Feb
(25) |
Mar
(36) |
Apr
(34) |
May
(14) |
Jun
(15) |
Jul
(14) |
Aug
(16) |
Sep
(23) |
Oct
(6) |
Nov
(4) |
Dec
(5) |
| 2011 |
Jan
(4) |
Feb
(22) |
Mar
(45) |
Apr
(9) |
May
(8) |
Jun
(13) |
Jul
(12) |
Aug
(4) |
Sep
(6) |
Oct
(10) |
Nov
(21) |
Dec
(5) |
| 2012 |
Jan
(6) |
Feb
(9) |
Mar
(25) |
Apr
(6) |
May
(4) |
Jun
(23) |
Jul
(6) |
Aug
(18) |
Sep
(21) |
Oct
(34) |
Nov
(19) |
Dec
(25) |
| 2013 |
Jan
(8) |
Feb
(34) |
Mar
(35) |
Apr
(4) |
May
(11) |
Jun
(4) |
Jul
(7) |
Aug
(5) |
Sep
(20) |
Oct
(12) |
Nov
(11) |
Dec
(7) |
| 2014 |
Jan
(10) |
Feb
(18) |
Mar
(50) |
Apr
(26) |
May
(53) |
Jun
(21) |
Jul
(12) |
Aug
(39) |
Sep
(43) |
Oct
(26) |
Nov
(8) |
Dec
(6) |
| 2015 |
Jan
(18) |
Feb
(32) |
Mar
(31) |
Apr
(42) |
May
(38) |
Jun
(13) |
Jul
(6) |
Aug
(11) |
Sep
(29) |
Oct
(25) |
Nov
(10) |
Dec
(11) |
| 2016 |
Jan
(24) |
Feb
(12) |
Mar
(13) |
Apr
(15) |
May
(22) |
Jun
(8) |
Jul
(12) |
Aug
(25) |
Sep
(8) |
Oct
(6) |
Nov
(13) |
Dec
(7) |
| 2017 |
Jan
(6) |
Feb
(29) |
Mar
(32) |
Apr
(8) |
May
(82) |
Jun
(42) |
Jul
(20) |
Aug
(17) |
Sep
(27) |
Oct
(14) |
Nov
(22) |
Dec
(6) |
| 2018 |
Jan
(12) |
Feb
(9) |
Mar
(22) |
Apr
(19) |
May
(14) |
Jun
(9) |
Jul
(9) |
Aug
(22) |
Sep
(22) |
Oct
(12) |
Nov
(13) |
Dec
(8) |
| 2019 |
Jan
(22) |
Feb
(3) |
Mar
(30) |
Apr
(20) |
May
(20) |
Jun
(6) |
Jul
(15) |
Aug
(25) |
Sep
(11) |
Oct
(24) |
Nov
(11) |
Dec
(6) |
| 2020 |
Jan
(9) |
Feb
(12) |
Mar
(29) |
Apr
(10) |
May
(22) |
Jun
(11) |
Jul
(15) |
Aug
(5) |
Sep
(6) |
Oct
(7) |
Nov
(7) |
Dec
(13) |
| 2021 |
Jan
(21) |
Feb
(5) |
Mar
(5) |
Apr
(6) |
May
(10) |
Jun
(7) |
Jul
(6) |
Aug
(8) |
Sep
(5) |
Oct
(9) |
Nov
(5) |
Dec
(6) |
| 2022 |
Jan
(5) |
Feb
(4) |
Mar
(8) |
Apr
(6) |
May
(5) |
Jun
(5) |
Jul
(10) |
Aug
(6) |
Sep
(7) |
Oct
(4) |
Nov
(4) |
Dec
(6) |
| 2023 |
Jan
(5) |
Feb
(5) |
Mar
(6) |
Apr
(4) |
May
(5) |
Jun
(6) |
Jul
(5) |
Aug
(5) |
Sep
(5) |
Oct
(5) |
Nov
(7) |
Dec
(8) |
| 2024 |
Jan
(3) |
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
(1) |
Jul
(1) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2025 |
Jan
|
Feb
(2) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2026 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Ype K. <yk...@xs...> - 2001-06-21 18:22:04
|
Sonny, >Hello, > >I'm researching Forte For Java 3.0 compatibility with JDK 1.4 (currently beta). >I was wondering if you have any information about the compatibility of Jython >2.0 with JDK 1.4? Any known issue or limitation? A few weeks ago there was a post from someone who had Jython running under java 1.4 _faster_ than CPython on the same machine. You could have a look in the list archives. Good luck, Ype |
|
From: <bc...@wo...> - 2001-06-21 14:54:06
|
For some time now, our web CVS have not worked correctly: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jython/jython/org/python/core/ Finally I managed to track the problem to the Java2Accessibility.py,v file in the CVS repository. The "rlog" command cannot be executed on this file. From the start of the Java2Accessibility.py,v: head 2.4; access; symbols Release_2_1alpha1:2.4 Release_2_0:2.2 Release_2_0rc1:2.2 Release_2_0beta2:2.2 Release_2_0beta1:2.2 Release_2_0alpha3:2.2 Release_2_0alpha2:2.2 Release_2_0alpha1:2.2 Release_1_1rc1:2.2 Release_1_1beta4:2.2 Release_1_1beta3:2.2 2.0:1.1.0.2; locks; strict; As an experiment, I tried to remove the strange "2.0:1.1.0.2;" line from the file and then I could run rlog on the file. Does anyone know if/how we can fix this? As a last resort I suppose I can attach my hand edited version to a SF support request where I ask them to copy my file to the CVS server. To this day I have never been very successful whenever I have tried to edit files in a CVS repository so I'm reluctant to do this. regards, finn |
|
From: Sonny K. <Son...@su...> - 2001-06-20 19:08:31
|
Hello, I'm researching Forte For Java 3.0 compatibility with JDK 1.4 (currently beta). I was wondering if you have any information about the compatibility of Jython 2.0 with JDK 1.4? Any known issue or limitation? Thanks for your help, -sonny |
|
From: Robert W. B. <rb...@di...> - 2001-06-19 23:04:57
|
On Tue, 19 Jun 2001, Robert W. Bill wrote: > On another note... > I'm curious about what your deliverable is, so I'm guessing others might > be as well. Is it something that should be added to: > > http://jython.sourceforge.net/users.html Ooops. Nevermind- I see that it already is. I forgot you do "FamilyRelations" and didn't read ahead to your installation note ;) -robert |
|
From: Robert W. B. <rb...@di...> - 2001-06-19 22:14:04
|
Reply appended... On Tue, 19 Jun 2001 ti...@ca... wrote: > -> On Mon, 18 Jun 2001 ti...@ca... wrote: > -> > Hi all, > -> > > -> > I have a Jython package that I'd like to distribute in a single file, > -> > if possible. I see tantalizing references to "freezing" vs "compiling"; > -> > it sounds like I want the former, since I rely fairly heavily on a > -> > non-Java file structure (e.g. more than one class/file), but I'm not > -> > sure what the options are here. > -> > -> Current options: > -> 1. runnable > -> 2. frozen- seemingly likely option for your needs. > > Indeed, it was. > > -> and maybe, > -> 3. Custom import > > ..although I use a bit of this too. > > -> > I'd be happy to explore the possibilities if someone can get me started > -> > on the right track, but I'd rather not trail-blaze if there's something > -> > already out there. > -> > -> This isn't really trail-blazing. The jythonc docs are fairly helpful, and > -> are located at: > -> > -> http://jython.sourceforge.net/docs/jythonc.html > > I suspected that freezing was the way to go, but the XXXs and complete > lack of examples on that page were not so helpful -- in particular, it > is only through involved contextual reading that I just realized that > "freezing" is clearly stated to be a result of '-j file --deep'... > > [ munch ] > > -> To freeze A.py use: > -> > -> jythonc --deep -j myapp.jar A.py > -> > -> This compiles A.py and B.py and places the compiled classes in myapp.jar. > -> This jar plus jython.jar (plus any other jars you use) is all that is > -> required to run your app. > > [ munch ] > > Exactly what I needed. E-x-c-c-cellent. > The only problem -- and one that may not be > addressible w/in Java/Jython -- is that Jython happily imported > my file 'ds-chooser.py' whereas Java croaked on classes with a '-' in > them. This turned out to be the problem that made the first freeze > I tried fail on me. > > So, my apologies for my confusion, and my thanks for the help! Would anyone > be interested in a slight modification of the jythonc.bat documentation > elucidating some of these points? There was a bit of a buzz concerning improving Jython's documentation a while back that inspired a wiki page at: http://www.jython.org/cgi-bin/moin.cgi/JythonDevelDocs Nobody has really contributed there since it was set up, and I've ran into some deadline troubles of my own that have kept me away from it as well. It would be nice to see your suggestion become an addition there, and possibly enliven the place. Otherwise, you could consider revising the language of http://www.jython.org/docs/jythonc.htm and send proposed changes. On another note... I'm curious about what your deliverable is, so I'm guessing others might be as well. Is it something that should be added to: http://jython.sourceforge.net/users.html -robert |
|
From: <bc...@wo...> - 2001-06-19 18:06:09
|
[Brian McCallister] >I am in the process of exploring embedded scripting options for a >large commercial application (written in Java) and was wondering >what the licensing restrictions for embedding the Jython runtime >interprter are. > >I have no desire (professional, not personal - personally I would >love to hack Jython) to extend the interpreter, just embed it as >is. > >I could not find any detailed information on mbedded licensing. There isn't any special treatment of embedded use. >Looking >over the license information at http://www.jython.org/license.html >it would seem that we need to make the sourcecode available. What gives you that impression? If you make modification to the jython source, you have to indicate the nature of the modifications. For example: - bug fixed in jython - improved embedability of jython. You could can write that right next to all the copyright lines that you also have to show somewhere: Copyright (c) 2000, Jython Developers All rights reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 2000 The Apache Software Foundation. All rights reserved. Copyright (c) 1995-2000 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved. >It is >not immediately clear, but it seems to be, that the sourceode of >the program it is embedded in does not need to be made available. It doesn't. >Before I can make a proposal that we use Jython (which I would like >to do)I need to clear up the licensing issues. However, opening up >the entire application under the GPL (or compatible license) is not >an option. > >As the Jython developers, what is your read on the license (iow, >if you hold that it would require the whole application it is used >as an embedded interpreter within, then I will not bother to go talk >to the company lawyer). I do not consider anything you say to be >legal advice, and IANAL need not prefix any replies as I will not >pretend it does. The licenses allows you to do almost everything except: - claiming that you wrote it - suing the authors. <wink> regards, finn |
|
From: <ti...@ca...> - 2001-06-19 17:21:28
|
After following the various freeze instructions, and experimenting with
some little Java classes to load my Jython program, my package's
INSTALL.txt reads:
---------------------------------------------------------------------------
Installation of FamilyRelations
-------------------------------
0. Make sure that a 'java' commmand is in your path somewhere.
1. Untar/unzip the distribution into some directory somewhere.
2. Run:
run.bat <-- (under Windows)
or
run.sh <-- (under UNIX)
That's it! Note that you can edit 'run.{bat,sh}' to point to the correct
'java' program, if you don't want to modify your path.
---------------------------------------------------------------------------
I think even biologists may be able to make this work now ;).
Thanks for the help!
cheers,
--titus
|
|
From: <ti...@ca...> - 2001-06-19 07:13:35
|
-> On Mon, 18 Jun 2001 ti...@ca... wrote: -> > Hi all, -> > -> > I have a Jython package that I'd like to distribute in a single file, -> > if possible. I see tantalizing references to "freezing" vs "compiling"; -> > it sounds like I want the former, since I rely fairly heavily on a -> > non-Java file structure (e.g. more than one class/file), but I'm not -> > sure what the options are here. -> -> Current options: -> 1. runnable -> 2. frozen- seemingly likely option for your needs. Indeed, it was. -> and maybe, -> 3. Custom import ...although I use a bit of this too. -> > I'd be happy to explore the possibilities if someone can get me started -> > on the right track, but I'd rather not trail-blaze if there's something -> > already out there. -> -> This isn't really trail-blazing. The jythonc docs are fairly helpful, and -> are located at: -> -> http://jython.sourceforge.net/docs/jythonc.html I suspected that freezing was the way to go, but the XXXs and complete lack of examples on that page were not so helpful -- in particular, it is only through involved contextual reading that I just realized that "freezing" is clearly stated to be a result of '-j file --deep'... [ munch ] -> To freeze A.py use: -> -> jythonc --deep -j myapp.jar A.py -> -> This compiles A.py and B.py and places the compiled classes in myapp.jar. -> This jar plus jython.jar (plus any other jars you use) is all that is -> required to run your app. [ munch ] Exactly what I needed. The only problem -- and one that may not be addressible w/in Java/Jython -- is that Jython happily imported my file 'ds-chooser.py' whereas Java croaked on classes with a '-' in them. This turned out to be the problem that made the first freeze I tried fail on me. So, my apologies for my confusion, and my thanks for the help! Would anyone be interested in a slight modification of the jythonc.bat documentation elucidating some of these points? cheers, --titus |
|
From: Brian Z. <bri...@ya...> - 2001-06-19 06:29:17
|
Yes it runs great if you can input by keyboard. It's so cool to have an on-device OO scripting language on top of a JVM. Steps involved: =========== 1. download from http://www.embedded.oti.com/ and install j9 to pocketpc \vame1.3, make sure you can run the demos 2. download jython2.1a1 from http://www.jython.org , copy \jython-2.1a1 to pocketpc \jython-2.1a1 3. copy Sun's JRE1.1.8 files from "C:\Program Files\JavaSoft\JRE\1.1" to pocketpc \JRE1.1 4. create a shortcut RunJython.lnk using the following 4 lines concated (on a single line seperated by " ") on your desktop PC and copy it to \jython-2.1a1: 119#"\vame1.3\j9.exe" "-bp:\vame1.3\classes.zip" "-cp:\JRE1.1\lib\rt.jar;\jython-2.1a1\jython.jar" "org.python.util.jython" Sample session: =============== Jython 2.1a1 on java1.2.2 subset (JIT: null) Type "copyright", "credits" or "license" for more information. >>> import java >>> print java.util.Date() Mon Jun 18 23:15:28 PDT 2001 >>> import pystone >>> pystone.main() Pystone(1.1) time for 10000 passes = 202.265 This machine benchmarks at 49.4401 pystones/second >>> Wish: ===== 0. it's still too slow; 1. J9 Console gets updated so that it complies to latest pocketpc UI standard (right now the menubar is on the bottom, and the input text field gets blocked by the tiny keyboard); 2. We can do without rt.jar. I tried to put classes.zip into classpath but it does not work; without rt.jar jython cannot "import java". Any other idea? Congrats to the J9 team and the jython team! -Brian |
|
From: Brian Z. <bri...@ya...> - 2001-06-19 04:31:57
|
Glad to tell you all that I verified jython runs on iPaq/WinCE. Attached is a screen shot. Although it's a little tricky to setup, and the UI of IBM J9 console is targeted at WinCE 2.x. I will provide instructions shortly. Cheers! As far as I know CPython WinCE 3.0 port is still being worked on. Thanks the jython team for the excellent work. -Brian |
|
From: Robert W. B. <rb...@di...> - 2001-06-19 03:16:12
|
Hello Titus,
On Mon, 18 Jun 2001 ti...@ca... wrote:
> Hi all,
>
> I have a Jython package that I'd like to distribute in a single file,
> if possible. I see tantalizing references to "freezing" vs "compiling";
> it sounds like I want the former, since I rely fairly heavily on a
> non-Java file structure (e.g. more than one class/file), but I'm not
> sure what the options are here.
Current options:
1. runnable
2. frozen- seemingly likely option for your needs.
and maybe,
3. Custom import
> I'd be happy to explore the possibilities if someone can get me started
> on the right track, but I'd rather not trail-blaze if there's something
> already out there.
>
> I did see a particularly interesting reference to a "shallow freeze" in
> a 12-2000 post by Finn Bock, but there were no followups.
>
> thanks in advance,
> --titus
>
> P.S. It would be quite useful to receive a simple reply like "you'll have
> to figure it out on your own" so that I know I'm not wasting my time ;).
This isn't really trail-blazing. The jythonc docs are fairly helpful, and
are located at:
http://jython.sourceforge.net/docs/jythonc.html
The cliff-notes are:
Option 1. runnable-
A "runnable" Jython module is one compiled with jythonc without
tracking dependencies. This requires attention to paths to ensure
dependencies are located and loaded (by setting -Dpython.home, or by
explicitly appending to sys.path). If module A imports module B, you make
runnable classes with:
jythonc A.py
Option 2. frozen-
A "frozen" application is one compiled with the --deep option so that
dependancies are tracked. This sounds most useful to your situation
consider you say you are distributing an application (implies that it
doesn't require subsequent changes).
To freeze A.py use:
jythonc --deep -j myapp.jar A.py
This compiles A.py and B.py and places the compiled classes in myapp.jar.
This jar plus jython.jar (plus any other jars you use) is all that is
required to run your app.
You can be increasingly lazy and use the following:
jythonc --all -j myapp.jar A.py
This tracks dependencies and packages up core, parser, and compiler
goodies so everything you need is potentially within this jar (not
including external jars you depend on).
Option 3. Custom import
You'll have to figure it out on your own ;)
Maybe the path at this url helps with option 3:
http://www.jython.org/cgi-bin/moin.cgi/PoorManFreezing
Get back if I've misunderstood the question (again).
-robert
|
|
From: Brian Z. <bri...@ya...> - 2001-06-19 02:26:38
|
Glad to tell you all that I verified jython runs on iPaq/WinCE. Attached is a screen shot. Although it's a little tricky to setup, and the UI of IBM J9 console is targeted at WinCE 2.x. I will provide instructions shortly. Cheers! Thanks for all the excellent work. -Brian |
|
From: <ti...@ca...> - 2001-06-19 01:07:45
|
Hi all, I have a Jython package that I'd like to distribute in a single file, if possible. I see tantalizing references to "freezing" vs "compiling"; it sounds like I want the former, since I rely fairly heavily on a non-Java file structure (e.g. more than one class/file), but I'm not sure what the options are here. I'd be happy to explore the possibilities if someone can get me started on the right track, but I'd rather not trail-blaze if there's something already out there. I did see a particularly interesting reference to a "shallow freeze" in a 12-2000 post by Finn Bock, but there were no followups. thanks in advance, --titus P.S. It would be quite useful to receive a simple reply like "you'll have to figure it out on your own" so that I know I'm not wasting my time ;). |
|
From: Brian Z. <bri...@ya...> - 2001-06-18 23:37:55
|
A little progress, thought the group would be interested:
I copied the jython.jar of 2.1a1 over, and tried to run a simple script
on pjava
import java
f = open('\\temp\\test1.txt', 'w')
print >>f, java.util.Date()
f.close()
The same script runs okay on pjava emulator on the desktop, but failed
with the following message:
Traceback (innermost last):
File "<console>", line 1, in ?
ImportError: no module named java
in the java console. I noticed that different even from the pjava
emulator, the StrongArm pjava does not have rt.jar or classes.zip, in
stead, it got a larger javai.dll. I guess jython imports from the
classpath, that probably can explain why the import failed while --help
works fine.
Because WinCE does not provide a command prompt, testing the above
involves either using the "Run" dialog easter egg and typing the whole
pjava command line, or editing a shortcut from a connected desktop.
I also heard about the Visual Age Micro Edition from IBM, the j9 runtime
got a java console that accepts input, and uses classes.zip, so I might
give that a shot tonight.
-Brian
----- Original Message -----
From: "Brian Zhou" <bri...@ya...>
To: <jyt...@li...>
Sent: Friday, June 15, 2001 8:13 AM
Subject: [Jython-dev] jython port to PocketPC/Personal Java?
> Just got myself an iPaq 3670, and tried Sun's Personal Java
> http://developer.java.sun.com/developer/earlyAccess/personaljava/ on
it, it
> runs okay. This is basicly a Java1.1 runtime without Swing, but awt
and JNI
> is supported.
>
> I'm thinking it probably will be really cool to have Jython running on
top
> of it. That way, I can develop or at least test out my idea w/o the
need of
> an extra PC.
>
> Will probably give it a try this weekend. But by looking at Pocket
Scheme
> site http://www.angrygraycat.com/scheme/pscheme.htm , esp.
> http://www.angrygraycat.com/scheme/cestdio.htm it seems WinCE lacks
stdio. I
> doubt Sun's pjava has support in it.
>
> Can any of the developers give some insight on what area of code I
need to
> look, and what kind of workaround there might be?
>
> Willing to invest some time to get it working if I can get some help
from
> the jython team.
>
> -Brian
>
>
> _______________________________________________
> Jython-dev mailing list
> Jyt...@li...
> http://lists.sourceforge.net/lists/listinfo/jython-dev
>
|
|
From: Brian M. <br...@al...> - 2001-06-18 18:53:22
|
I am in the process of exploring embedded scripting options for a large commercial application (written in Java) and was wondering what the licensing restrictions for embedding the Jython runtime interprter are. I have no desire (professional, not personal - personally I would love to hack Jython) to extend the interpreter, just embed it as is. I could not find any detailed information on mbedded licensing. Looking over the license information at http://www.jython.org/license.html it would seem that we need to make the sourcecode available. It is not immediately clear, but it seems to be, that the sourceode of the program it is embedded in does not need to be made available. Before I can make a proposal that we use Jython (which I would like to do)I need to clear up the licensing issues. However, opening up the entire application under the GPL (or compatible license) is not an option. As the Jython developers, what is your read on the license (iow, if you hold that it would require the whole application it is used as an embedded interpreter within, then I will not bother to go talk to the company lawyer). I do not consider anything you say to be legal advice, and IANAL need not prefix any replies as I will not pretend it does. Thanks! btw - Thanks also for creating Jython! -Brian McCallister |
|
From: <bc...@wo...> - 2001-06-18 18:21:24
|
[Daniel Mahler] >It seems that if you have > >... > >then > >$ jythonc -j c.jar -A a c.py > >will not include a/B.class in the jar file. Right. At the moment jythonc only tracks classes and types in the stringpool. It doesn't track fields. Please open a bugreport on SF with you example so we don't forget about the problem. regards, finn |
|
From: Laurent T. <Lau...@ge...> - 2001-06-18 07:57:12
|
Hello, I installed jython-20 (and jython-21a1) and try to use the os.popen() from os module but I receive the following message: *sys-package-mgr*: processing new jar, 'C:\Program Files\Python20\jython-21\jython.jar' *sys-package-mgr*: processing new jar, 'C:\Program Files\JavaSoft\JRE\1.2\lib\rt.jar' *sys-package-mgr*: processing new jar, 'C:\Program Files\JavaSoft\JRE\1.2\lib\i18n.jar' *sys-package-mgr*: processing new jar, 'C:\Program Files\JavaSoft\JRE\1.2\lib\ext\iiimp.jar' Traceback (innermost last): File "testuptodate.py", line 45, in ? File "testuptodate.py", line 24, in main AttributeError: class 'org.python.modules.os' has no attribute 'popen' when executing the source: import os, os.path command = 'java -version' file = os.popen (command, 'r') Do you ever seem that before ? Can I use the os.popen() as I used it in Cpython ? Thanks for help, Laurent, ------------------------------------ Laurent TCHERNIACK Indus. Manager GEMPLUS Software - Application lau...@ge... Tel: 04 42 36 66 72 ------------------------------------ |
|
From: Brian Z. <bri...@ya...> - 2001-06-15 15:13:09
|
Just got myself an iPaq 3670, and tried Sun's Personal Java http://developer.java.sun.com/developer/earlyAccess/personaljava/ on it, it runs okay. This is basicly a Java1.1 runtime without Swing, but awt and JNI is supported. I'm thinking it probably will be really cool to have Jython running on top of it. That way, I can develop or at least test out my idea w/o the need of an extra PC. Will probably give it a try this weekend. But by looking at Pocket Scheme site http://www.angrygraycat.com/scheme/pscheme.htm , esp. http://www.angrygraycat.com/scheme/cestdio.htm it seems WinCE lacks stdio. I doubt Sun's pjava has support in it. Can any of the developers give some insight on what area of code I need to look, and what kind of workaround there might be? Willing to invest some time to get it working if I can get some help from the jython team. -Brian |
|
From: Daniel M. <ma...@cy...> - 2001-06-15 10:01:41
|
It seems that if you have
++++++++++++++++++++++++++
package a;
class A {
B b; //b never used
...
}
++++++++++++++++++++++++++
and
++++++++++++++++++++++++++
package a;
class B {
...
}
++++++++++++++++++++++++++
and
++++++++++++++++++++++++++
class C(A):
...
++++++++++++++++++++++++++
then
$ jythonc -j c.jar -A a c.py
will not include a/B.class in the jar file.
As a result
$java -cp c.jar C
will crash with a class a/B.class not found exception.
regards
Daniel Mahler
|
|
From: Ype K. <yk...@xs...> - 2001-06-14 18:29:37
|
Laurent, >When trying to use the os.popen in Jython, I receive this error message: >"AttributeError: class 'org.python.modules.os' has no attribute 'open'" > >It seems that the import os does not point to a equivalent python lib. > >Do you ever saw this behavior ? Java does not have pipes, so Jython cannot provide them. I think the closest thing you can do is create a process and use Java calls to give it input and to read it's output. I don't know whether Jython has some standard module that lets you do that. Good luck, Ype |
|
From: Laurent T. <Lau...@ge...> - 2001-06-14 14:35:17
|
When trying to use the os.popen in Jython, I receive this error message: "AttributeError: class 'org.python.modules.os' has no attribute 'open'" It seems that the import os does not point to a equivalent python lib. Do you ever saw this behavior ? ------------------------------------ Laurent TCHERNIACK Indus. Manager GEMPLUS Software - Application lau...@ge... Tel: 04 42 36 66 72 ------------------------------------ |
|
From: <bc...@wo...> - 2001-06-13 19:51:57
|
On Wed, 13 Jun 2001 19:41:15 +0200 (MET DST), you wrote: >> The following seems to be a bug in Jython2.0 [Samuele] >Yes, it's a bug, I have added it to the bug tracker. Right, and the bug have already been fixed in 2.1a1. The fix included the addition of __initProxy__ to the PyProxy interface. regards, finn |
|
From: Samuele P. <pe...@in...> - 2001-06-13 17:41:20
|
Hi.
> The following seems to be a bug in Jython2.0
>
> JAVA:
> public class A {
> public A () {
> foo();
> }
> protected void foo () {
> System.out.println("A");
> }
> protected void goo () {
> foo();
> }
> }
>
> JYTHON:
> import A
> class B(A):
> def __init__(self):
> A.__init__(self)
> def foo(self):
> print "B"
>
> b = B() # prints A -- OUCH!! BAD!!
> b.foo() # prints B -- good
> b.goo() # prints B -- good
>
Yes, it's a bug, I have added it to the bug tracker.
Thanks for the report.
|
|
From: Daniel M. <ma...@cy...> - 2001-06-12 20:49:43
|
The following seems to be a bug in Jython2.0
JAVA:
public class A {
public A () {
foo();
}
protected void foo () {
System.out.println("A");
}
protected void goo () {
foo();
}
}
JYTHON:
import A
class B(A):
def __init__(self):
A.__init__(self)
def foo(self):
print "B"
b = B() # prints A -- OUCH!! BAD!!
b.foo() # prints B -- good
b.goo() # prints B -- good
Daniel Mahler
|
|
From: Laurent T. <Lau...@ge...> - 2001-06-12 09:34:05
|
Hello, After some experience in Python, I am now trying to convert some of my .py file to be execute in Jython. And some troubles stop me at the moment. Is there a way to use the facilities of the split of regular expression in jython like I did in Python with import regsub ? Thanks in advance, Laurent ------------------------------------ Laurent TCHERNIACK Indus. Manager GEMPLUS Software - Application lau...@ge... Tel: 04 42 36 66 72 ------------------------------------ |