You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
(8) |
Dec
(51) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(105) |
Feb
(93) |
Mar
(194) |
Apr
(145) |
May
(100) |
Jun
(111) |
Jul
(117) |
Aug
(126) |
Sep
(233) |
Oct
(138) |
Nov
(164) |
Dec
(109) |
2002 |
Jan
(216) |
Feb
(175) |
Mar
(216) |
Apr
(194) |
May
(157) |
Jun
(140) |
Jul
(158) |
Aug
(73) |
Sep
(105) |
Oct
(164) |
Nov
(104) |
Dec
(95) |
2003 |
Jan
(72) |
Feb
(69) |
Mar
(81) |
Apr
(151) |
May
(101) |
Jun
(139) |
Jul
(99) |
Aug
(118) |
Sep
(115) |
Oct
(151) |
Nov
(161) |
Dec
(102) |
2004 |
Jan
(120) |
Feb
(175) |
Mar
(106) |
Apr
(111) |
May
(54) |
Jun
(78) |
Jul
(76) |
Aug
(105) |
Sep
(94) |
Oct
(143) |
Nov
(75) |
Dec
(85) |
2005 |
Jan
(99) |
Feb
(77) |
Mar
(164) |
Apr
(97) |
May
(79) |
Jun
(57) |
Jul
(65) |
Aug
(102) |
Sep
(95) |
Oct
(129) |
Nov
(123) |
Dec
(52) |
2006 |
Jan
(48) |
Feb
(99) |
Mar
(90) |
Apr
(51) |
May
(81) |
Jun
(136) |
Jul
(56) |
Aug
(109) |
Sep
(50) |
Oct
(44) |
Nov
(74) |
Dec
(75) |
2007 |
Jan
(92) |
Feb
(137) |
Mar
(93) |
Apr
(79) |
May
(52) |
Jun
(74) |
Jul
(143) |
Aug
(175) |
Sep
(154) |
Oct
(137) |
Nov
(88) |
Dec
(90) |
2008 |
Jan
(58) |
Feb
(113) |
Mar
(167) |
Apr
(88) |
May
(105) |
Jun
(37) |
Jul
(87) |
Aug
(72) |
Sep
(56) |
Oct
(41) |
Nov
(102) |
Dec
(70) |
2009 |
Jan
(115) |
Feb
(113) |
Mar
(126) |
Apr
(58) |
May
(125) |
Jun
(45) |
Jul
(90) |
Aug
(125) |
Sep
(84) |
Oct
(61) |
Nov
(111) |
Dec
(61) |
2010 |
Jan
(85) |
Feb
(86) |
Mar
(130) |
Apr
(58) |
May
(57) |
Jun
(32) |
Jul
(25) |
Aug
(50) |
Sep
(41) |
Oct
(65) |
Nov
(63) |
Dec
(24) |
2011 |
Jan
(43) |
Feb
(31) |
Mar
(28) |
Apr
(68) |
May
(53) |
Jun
(42) |
Jul
(58) |
Aug
(26) |
Sep
(51) |
Oct
(76) |
Nov
(60) |
Dec
(9) |
2012 |
Jan
(16) |
Feb
(32) |
Mar
(32) |
Apr
(39) |
May
(16) |
Jun
(19) |
Jul
(3) |
Aug
(11) |
Sep
(35) |
Oct
(47) |
Nov
(28) |
Dec
(18) |
2013 |
Jan
(18) |
Feb
(36) |
Mar
(10) |
Apr
(7) |
May
(7) |
Jun
(27) |
Jul
(17) |
Aug
(35) |
Sep
(19) |
Oct
(31) |
Nov
(8) |
Dec
(22) |
2014 |
Jan
(5) |
Feb
(11) |
Mar
(18) |
Apr
(23) |
May
(26) |
Jun
(14) |
Jul
(18) |
Aug
(26) |
Sep
(20) |
Oct
(48) |
Nov
(13) |
Dec
(9) |
2015 |
Jan
(9) |
Feb
(15) |
Mar
(25) |
Apr
(10) |
May
(26) |
Jun
(6) |
Jul
(13) |
Aug
(5) |
Sep
(14) |
Oct
(36) |
Nov
(24) |
Dec
(18) |
2016 |
Jan
(24) |
Feb
(11) |
Mar
(1) |
Apr
(6) |
May
(7) |
Jun
(3) |
Jul
(9) |
Aug
(15) |
Sep
(22) |
Oct
(5) |
Nov
(5) |
Dec
(2) |
2017 |
Jan
(20) |
Feb
(4) |
Mar
(4) |
Apr
(1) |
May
(5) |
Jun
(7) |
Jul
(14) |
Aug
(9) |
Sep
(18) |
Oct
(2) |
Nov
(3) |
Dec
(3) |
2018 |
Jan
(7) |
Feb
(6) |
Mar
(1) |
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
(18) |
Sep
(8) |
Oct
(9) |
Nov
(4) |
Dec
(6) |
2019 |
Jan
(5) |
Feb
|
Mar
(2) |
Apr
(4) |
May
(6) |
Jun
(8) |
Jul
(11) |
Aug
(10) |
Sep
(6) |
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
(8) |
Feb
(3) |
Mar
(1) |
Apr
(4) |
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
(5) |
Nov
(2) |
Dec
(1) |
2021 |
Jan
|
Feb
|
Mar
(5) |
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(7) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(5) |
Jul
(15) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
(5) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Chris M. <ch...@hd...> - 2001-05-29 14:40:41
|
Thanks for the help, I'm d/l'ing 2.1a1 right now. We also found base64 encoding support in Fop with Xerces in case anyone is interested. Thanks again, Chris On Tue, May 29, 2001 at 01:36:37AM -0500, Robert W. Bill wrote: > Hello Chris, > > On Mon, 28 May 2001, Chris Meyers wrote: > > Is there a way to do base64 encoding in jython? We have an app where > > python is base64 encoding data on the server side. On the client side we > > are using jython, and we can't find a way to unencode it. Anyone out > > there know of a way to do this? > > There is a Base64 module designed for this, but is only delivered with > jython-2.1a1. I'm unaware of limitations in using Base64.py with Jython > 2.0, so it's worth a try. If that doesn't pan out, using Jython-2.1a1 is > reasonable as well- the 'alpha' doesn't mean unstable in this case. > > >>> import Base64 > >>> s = "this is a test with some @wa%ck7y chara)c*te-=rs" > >>> encoded = Base64.encodestring(s) > >>> print encoded > dGhpcyBpcyBhIHRlc3Qgd2l0aCBzb21lIEB3YSVjazd5IGNoYXJhKWMqdGUtPXJz > > >>> decoded = Base64.decodestring(encoded) > >>> print decoded > this is a test with some @wa%ck7y chara)c*te-=rs > > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users -- Chris Meyers 7941 Tree Lane Suite 200 Madison WI 53717 |
From: Joshua F. <jo...@jo...> - 2001-05-29 09:53:58
|
Thanks for the feedback on Jython documentation and maturity. I hope to start using Jython more and learn about it; perhaps even write about it. Joshua Fox jo...@jo... http://www.joshuafox.com |
From: Brian Z. <bri...@ya...> - 2001-05-29 05:13:47
|
Or if you are willing to go the Java route: the following are result from google newsgroup search: SUN has some classes called sun.misc.BASE64Encoder and sun.misc.BASE64Decoder that should be included in the JDK jar-file. These are unofficial / unsupported classes, and SUN could drop including them in future releases of the JDK. The classes are not documented in the official API docs. Or download from http://java.sun.com/products/javamail/ and use the package javax.mail.internet.MimeUtility http://java.sun.com/products/javamail/javadocs/javax/mail/internet/MimeUtili ty.html for example: output = MimeUtility.encodeText(unicode, "UTF8", "B"); String unicodeString = MimeUtility.decodeText(input); complete javadoc at http://java.sun.com/products/javamail/javadocs/index.html ----- Original Message ----- From: "Chris Meyers" <ch...@hd...> To: <jyt...@li...> Sent: Monday, May 28, 2001 5:30 PM Subject: [Jython-users] Base64 Encoding > Is there a way to do base64 encoding in jython? We have an app where python is base64 encoding data on the server side. On the client side we are using jython, and we can't find a way to unencode it. Anyone out there know of a way to do this? > > TIA > Chris > -- > Chris Meyers > 7941 Tree Lane Suite 200 > Madison WI 53717 > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users > |
From: Rodrigo D. A. S. <rod...@te...> - 2001-05-29 05:00:25
|
Finn, thank you very much for your reply. I have managed to make Jython 2.1a1 work upon Kaffe1.0.6 and Guarana1.7 (a reflective enhanced JVM based on Kaffe http://www.ic.unicamp.br/~oliva/guarana/index.html). The hints you gave me were ``bizzu'' (pronounces bee-zoo, brazilian slang for info tha= t solves a problem) d:o) I have tested the complaining jar files with jdk 1.3 jar, but could not discover any misbehaviour there. So, I j= ust removed them from my claspath (since these were not needed to interect w= ith jython now). Then,... loading jython with : guarana -Dpython.home=3D$HOME/Tese/work/bin org.python.util.jython "$@" where guarana =3D=3D JVM ~=3D kaffe *sys-package-mgr*: processing new jar, '/home/rodrigo/Tese/work/lib/getop= t.jar' *sys-package-mgr*: processing new jar, '/usr/local/Tese/guarana-1.7/jit3/= share/kaffe/Klasses.jar' *sys-package-mgr*: processing new jar, '/usr/local/Tese/guarana-1.7/jit3/= share/kaffe/comm.jar' *sys-package-mgr*: processing new jar, '/usr/local/Tese/guarana-1.7/jit3/= share/kaffe/guarana.jar' *sys-package-mgr*: processing new jar, '/usr/local/Tese/guarana-1.7/jit3/= share/kaffe/kjc.jar' *sys-package-mgr*: processing new jar, '/usr/local/Tese/guarana-1.7/jit3/= share/kaffe/microsoft.jar' *sys-package-mgr*: processing new jar, '/usr/local/Tese/guarana-1.7/jit3/= share/kaffe/pjava.jar' *sys-package-mgr*: processing new jar, '/usr/local/Tese/guarana-1.7/jit3/= share/kaffe/rmi.jar' *sys-package-mgr*: processing new jar, '/usr/local/Tese/guarana-1.7/jit3/= share/kaffe/servlet.jar' Jython 2.1a1 on java1.0.6-20010401 (JIT: kaffe.jit) >>> import java Traceback (innermost last): File "<console>", line ImportError: no module named java So I tried the following... >>> import sys >>> sys.add_package('BR.unicamp.Guarana') <java package BR.unicamp.Guarana at 140321328> >>> import BR.unicamp.Guarana >>> sys.add_package('java') <java package java at 138319056> >>> import java >>>=20 And voil=E1! I'm ready to play with it now.=20 best regards, Rod Senra --=20 Rodrigo Senra =20 Computer Engineer (GPr Sistemas Ltda) rod...@gp...=20 MSc Student (IC - UNICAMP) Rod...@ic... Home Page http://www.ic.unicamp.br/~921234 (ICQ 114477550) |
From: Robert W. B. <rb...@di...> - 2001-05-29 02:57:06
|
On Mon, 28 May 2001, Finn Bock wrote: > [Ben Hutchison] > > >Well, I am pleased so so many people are interested and willing to > >contribute to improving the Jython documentation. > > > >I think finding a home is the first step, and I would definitely prefer > >it to be integrated with the jython development site at sourceforge. > > Me too. > > >... > > > >Does anybody want to propose other home candidates, or indicate an > >preference for one of the above? > > Is the SF DocManager usefull for this? > > http://sourceforge.net/docman/?group_id=12867 This may be a good start, but it seems unclear what format limitation there is on SF. A limitation to html might not be ideal? I'm curious what people think about sticking closer to the latex documentation Fred Drake details here: http://python.sourceforge.net/devel-docs/doc/doc.html CVS + latex and converting to format-specific output seems a better investment. How can you do this on SF? Would this mean a separate 'project' for documentation where only the html output is committed to the jython project? What are others thoughts? My cvs+emacs+latex bias may be another's bane, so speak up. It seems a quick consesus may be most useful, so I'll cast my inconsequential vote for what seems most likely to allow latex source... If authors can have rw to only a /doc subdirectory of Jython's cvs- do that. Otherwise, this is best served by a unique cvs entry (SF project) and some 'managed' conversion to html output for posting in the Jython project. -Robert |
From: Robert W. B. <rb...@di...> - 2001-05-29 01:41:46
|
Hello Chris, On Mon, 28 May 2001, Chris Meyers wrote: > Is there a way to do base64 encoding in jython? We have an app where > python is base64 encoding data on the server side. On the client side we > are using jython, and we can't find a way to unencode it. Anyone out > there know of a way to do this? There is a Base64 module designed for this, but is only delivered with jython-2.1a1. I'm unaware of limitations in using Base64.py with Jython 2.0, so it's worth a try. If that doesn't pan out, using Jython-2.1a1 is reasonable as well- the 'alpha' doesn't mean unstable in this case. >>> import Base64 >>> s = "this is a test with some @wa%ck7y chara)c*te-=rs" >>> encoded = Base64.encodestring(s) >>> print encoded dGhpcyBpcyBhIHRlc3Qgd2l0aCBzb21lIEB3YSVjazd5IGNoYXJhKWMqdGUtPXJz >>> decoded = Base64.decodestring(encoded) >>> print decoded this is a test with some @wa%ck7y chara)c*te-=rs |
From: Chris M. <ch...@hd...> - 2001-05-29 00:30:24
|
Is there a way to do base64 encoding in jython? We have an app where python is base64 encoding data on the server side. On the client side we are using jython, and we can't find a way to unencode it. Anyone out there know of a way to do this? TIA Chris -- Chris Meyers 7941 Tree Lane Suite 200 Madison WI 53717 |
From: <bc...@wo...> - 2001-05-28 19:56:16
|
[Ben Hutchison] >Well, I am pleased so so many people are interested and willing to >contribute to improving the Jython documentation. > >I think finding a home is the first step, and I would definitely prefer >it to be integrated with the jython development site at sourceforge. Me too. >... > >Does anybody want to propose other home candidates, or indicate an >preference for one of the above? Is the SF DocManager usefull for this? http://sourceforge.net/docman/?group_id=12867 regards, finn |
From: <bc...@wo...> - 2001-05-28 19:41:32
|
On Mon, 14 May 2001 22:41:31 -0300, you wrote: >Hello folks, > >I recently succeded in running JPython 1.1 over Kaffe 1.0.6. >Soon after that I realised JPython was defunct, then I turned >to Jython 2.1.a1. It loads the intrepreter almost without >complain (it complains about some jars in my CLASSPATH) Can you verify if these two .jar files are valid? This is best done by running the jar utility (if any) that comes with kaffe. >and it does not print copyright notice ??? In jython-2.0 the copyright notice consists of the line: Type "copyright", "credits" or "license" for more information. and that is only printed when the site.py file have been executed. >Moreover, import java fails with: > >$ jython >*sys-package-mgr*: processing modified jar, >'/home/rodrigo/Tese/work/lib/gnu-regexp-1.1.0.jar' >*sys-package-mgr*: skipping bad jar, >'/home/rodrigo/Tese/work/lib/gnu-regexp-1.1.0.jar' >*sys-package-mgr*: processing modified jar, >'/usr/share/mysql/mm.mysql.jdbc-2.0pre5/mysql_both_comp.jar' >*sys-package-mgr*: skipping bad jar, >'/usr/share/mysql/mm.mysql.jdbc-2.0pre5/mysql_both_comp.jar' >Jython 2.1a1 on java1.0.6-20010401 (JIT: kaffe.jit) > >>> import java >Traceback (innermost last): > File "<console>", line 1, in ? >ImportError: no module named java How does kaffe find its system classes (whatever corresponds to rt.jar in jdk1.3)? By default Jython will look for classes & jars on: - the directories listed in the system-properties "java.class.path" and "sun.boot.class.path". The values of these two properties will be interpreted as a CLASSPATH string. - All the .jar/.zip files found in the directories listed on the property "java.ext.dirs". As an example, jython finds the JDK1.3 rt.jar file by looking at the sun.boot.class.path property: Jython 2.1a1 on java1.3.0 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> import java >>> print java.lang.System.getProperty("sun.boot.class.path") I:\JAVA\JDK1.3\jre\lib\rt.jar;I:\JAVA\JDK1.3\jre\lib\i18n.jar;I:\JAVA\JDK1.3\jre \lib\sunrsasign.jar;I:\JAVA\JDK1.3\jre\classes To enable better support for kaffe, first try to see if any of the kaffe system properties correspond to sun.boot.class.path. If there is such a property you can configure jython to use by inserting a line in the registry file: python.packages.paths=java.class.path,sun.boot.class.path,kaffe.boot.class.path If something along these lines works, we can easily add the kaffe support to jython. regards, finn |
From: <bc...@wo...> - 2001-05-28 19:38:44
|
[neo] >I have a class that extends InteractiveConsole. >I'm using it to pass administrative commands >to my Java codebase. > >Everything works great except this: > >I get - >'import exceptions' failed; using string-based exceptions > >this message even though my command does get >passed to my admin framework. > >How do I suppress the above ?? any ideas ?? This message only occur with JPython-1.1. The problem have been fixed in Jython-2.0. regards, finn |
From: <bc...@wo...> - 2001-05-28 19:38:38
|
[Brian Zhou] >With the error message: > >try path C:\Download\ >exception in called method net.sourceforge.liftoff.installer.Install2.main >java.lang.NullPointerException > at java.util.Hashtable.put(Compiled Code) > at net.sourceforge.liftoff.installer.Info.setProperty(Compiled Code) > at >net.sourceforge.liftoff.installer.Info.loadInstallerProps(Info.java:3 >17) > at net.sourceforge.liftoff.installer.Install2.<init>(Compiled Code) > at >net.sourceforge.liftoff.installer.Install2.main(Install2.java:130) > at jython-21a1.main(Install.java:376) >java.lang.reflect.InvocationTargetException > >I was testing using Sun JRE 1.1.8_005 and JRE 1.1.7B. Thanks for reporting this. A fix will be included in the 2.1a2 installer. regards, finn |
From: <bc...@wo...> - 2001-05-28 16:23:04
|
[Ronald_Male] >I have the following situation, which strikes me as bizarre: I have been unable to reproduce the problem with just your example (included below). OTOH case-sensitive import doesn't work right (when compared to all versions of CPython) on case-insensitive filesystems. If the problems still exists, please inform us of your OS / filesystem. You can also try and see if it helps to remove the $py.class files. regards, finn > > file Ab.py: > --------------- > class AB : > > def handleCommand (self, cmd) : > print "AB.handleCommand()" > > >file fred.py: >---------------- >from AB import AB > >class fred (AB) : > > def handleCommand (self, cmd) : > print "fred.handleCommand()" > > >file C.py: > >from AB import AB >from fred import fred > >class C (fred) : > > def handleCommand (self, cmd) : > if blahBlah : <<========= is false > fred.handleCommand(self, cmd) > else : > AB.handleCommand(self, cmd) > > >Ok. Everything has been running fine for "months"; I see >"AB.handleCommand()" in >the output, just as is desired. > >Today I just happened to notice that module AB was used in the import >statements and not module Ab. I'm a freak about details, so I changed >the imports to say module Ab and not AB. Now the code breaks with a >traceback >saying: "TypeError: unbound method must be called with class instance 1st >argument" > > I changed the imports back >to say module AB, and all works again. > >What is happening - my brain feels like it's leaking. |
From: <bc...@wo...> - 2001-05-28 16:22:28
|
[Json Foster] >I'm currently trying to graft Jython into the Cocoon2 web publishing >framework using IBM's Bean Scripting Framework. So far it has been a >straightforward process, so kudos to the Jython team. > >If you're interested, check out xml.apache.org/cocoon and take a look at >ScriptGenerator. > >Everything works great so long as all of the python code is within a single >script. As previous posts have mentioned, as soon as I try to import from >another file jython complains about not being able to find the resource in >question. > >The solution presented earlier (in the context of the JythonServlet?), >namely to use sys.add_package(), sounds like a good solution if you have >control of the servlet. Unfortunately given the number of toolkits and >classloaders I'm working with I don't have this option. > >I was wondering whether or not it would be possible to do something similar >to sys.add_package() from within a python script? I tried this (naively) >and was told that "sys" wasn't a known name. Calling add_package from a python script is possible, but you will have to import the "sys" module first: import sys sys.add_package('javax.xml.parsers') from javax import xml >My idea is that I know, as >developer, that a class with a certain name is available somehow. > >I'm not sure that this solution would work, given that Tomcat and Cocoon2 >for sure have their own classloaders and the BSF might as well, but it's the >only one I can think of. It should work assuming that the classloader(s) set up by tomcat/cocoon2 would allow loading of the classes. If it doesn't work try to see of the classes are available: import java cl = java.lang.Class.forName("javax.xml.parsers.SAXParserFactory") If that fails to load the class you are after, no amount of sys.add_package() will help. >I *really* don't want to add things to my system >classpath if I don't have to. > >As an aside, since I've been out of Java programming for so long, can I set >that various jython parameters programmatically as opposed to having to use >"-D" on the command line? You can set some or all of the registry properties by explicit calling PythonInterpreter.initialize() before calling any other methods in the jython API. Examples of calling initialize() are normally available in the FAQ (which happens to be offline at the moment). regards, finn |
From: Samuele P. <pe...@in...> - 2001-05-28 16:12:54
|
> > hi, > > i am looking for a new.py module for using in jython. > usually when encoutering a missing module in jython > i just copy it from the cpython distribution. > but as it seems this module is somehow internal to cpython > (i cant find any trace of it). > > will new be supported on jython or wont it? > > > just for the curious ones here ;-) > im am evalution a template-solution and it has come down > to the prime candidates. > velocity - a jakarta projekt and sadly java based > TemplateServer - by t.rudd made for the webmacro project. > > i would rather use templateserver cause it would enable > me to switch from jython to python but it uses > the mysterious new-module. > > ciao robertj > Hi. The CVS defines a jython-version of 'new' module. regards. |
From: Robert K. <rob...@ya...> - 2001-05-28 15:59:03
|
hi, i am looking for a new.py module for using in jython. usually when encoutering a missing module in jython i just copy it from the cpython distribution. but as it seems this module is somehow internal to cpython (i cant find any trace of it). will new be supported on jython or wont it? just for the curious ones here ;-) im am evalution a template-solution and it has come down to the prime candidates. velocity - a jakarta projekt and sadly java based TemplateServer - by t.rudd made for the webmacro project. i would rather use templateserver cause it would enable me to switch from jython to python but it uses the mysterious new-module. ciao robertj ===== itemj http://www.itemj.com Robert Kuzelj mobil 0177 5302230 Ramonvillestr.6 tel 06039 930223 61184 Karben fax 06039 2224 __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ |
From: Mike S. <msa...@in...> - 2001-05-27 22:32:17
|
I use Jython daily, partly for developing scripts which benefit from access to exiting Java code, and partly to try out ideas which I later implement in straight Java. I am frequently amazed at how well it works and how easy it is to use with java libs. Other than wishing it were faster (and honestly, in my case it has more to do with wishing Java startup times were generally faster), I have no substantial complaints. ..Mike Sackett On Fri, 25 May 2001, Joshua Fox wrote: > I've read about Jython and run a few examples, and the ideas there look > brilliant. The suspicion that comes with any product that has not received > frequent updates, has limited documentation, and little media attention (all > these exist, but in small quantity) is that the product is not mature, that > it has strange bugs that I will be the first to find. So, can I ask a > question that might seem strange on the Jython list: Is it mature? Does it > provide all advertised functionality with no disastrous bugs? I can say this > about CPython, I think. What about Jython? > > Thanks, > > Joshua Fox > > jo...@jo... > > http://www.joshuafox.com > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users > |
From: <bc...@wo...> - 2001-05-26 19:32:15
|
[John Mudd] >... >Oh, I just saw a briefing on Java 1.4. The reflection speed is >supposed to be several times faster. That might be a big help to >Jython performance. I've received this pystone measurement using jdk1.4 from Timo-Pekka: >Setup: > > AMD Athlon Thunderbird @ 750Mhz > 512MB RAM > Red Hat 7.0 > CPython 1.5.2 > Jython 2.0 (Java SDK 1.4 beta + Server VM) > >% python pystone.py >Pystone(1.1) time for 1000000 passes = 111.61 >This machine benchmarks at 8959.77 pystones/second > ~~~~~~~ > >% /usr/java/j2sdk1.4.0/bin/java -server -Xmx384m >-Dpython.home=/opt/jython-2.0 -cp /opt/jython-2.0/jython.jar:. pystone >Pystone(1.1) time for 10000000 passes = 803.84 >This machine benchmarks at 12440.3 pystones/second > ~~~~~~~ > >Note that Jython benchmark runs ten times more iterations, but it doesn't >affect CPython results. Lastest Hotspot Server VM does quite a good job :-) regards, finn |
From: John M. <joh...@ya...> - 2001-05-26 03:26:52
|
I actually have a more serious doubt about CPython than Jython. The CPython threading approach does not take full advantage of multiple processors as does Jython (and Java). I fully expect this to be corrected in the future but so long as we're looking at each other through keyholes... That reminds me... I want to examine JPE more closely. I do struggle with the choice pf CPython and Jython. I long for one solution. If the threading is redone in CPython and JPE lives up to my fantasy then it might be a Jython killer? There's probably a long list of reasons that that will not happen. Oh, I just saw a briefing on Java 1.4. The reflection speed is supposed to be several times faster. That might be a big help to Jython peformance. --- Joshua Fox <jo...@jo...> wrote: > I've read about Jython and run a few examples, and the ideas there > look > brilliant. The suspicion that comes with any product that has not > received > frequent updates, has limited documentation, and little media > attention (all > these exist, but in small quantity) is that the product is not > mature, that > it has strange bugs that I will be the first to find. So, can I ask a > question that might seem strange on the Jython list: Is it mature? > Does it > provide all advertised functionality with no disastrous bugs? I can > say this > about CPython, I think. What about Jython? > > Thanks, > > Joshua Fox > > jo...@jo... > > http://www.joshuafox.com > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ |
From: Brian Z. <bri...@ya...> - 2001-05-25 20:24:20
|
> > (Possibly, we could start with Wiki to gather material easily, then > collate it together, check it for errors, and transfer it to the jython > project) > I like this idea. In terms of backup or versioning support, it varies a lot depending on different wiki implementations: * I hope jywiki is up to the task but it's not there yet, not to mention the fact that sourceforge.net does not host java servlet. Actually jywiki is very close to the original wiki. * PhpWiki is probably a better choice since it got 90% of the features without being large, supports page locking, simple diff and various storage interfaces (plain text, mysql, etc). Sourceforge.net provides PHP hosting, MySql database and cron job - so we can either backup the MySql database or check plain text pages into CVS. * I've also looked at MoinMoin before. My impression was that it got way too many features than you need, and the design was not very coherent or wabi-sabi. Regards, -Brian ----- Original Message ----- From: "Ben Hutchison" <ben...@fi...> To: "jython-users" <jyt...@li...> Sent: Friday, May 25, 2001 3:35 AM Subject: Re: [Jython-users] Jython documentation > Well, I am pleased so so many people are interested and willing to > contribute to improving the Jython documentation. > > I think finding a home is the first step, and I would definitely prefer > it to be integrated with the jython development site at sourceforge. > > 1. Add a Docs tab to the jython project page and authorize some > interested people to check in docs to CVS. This has the advantage of > very tight integration with the Jython development project. Having a > small team of maintainers may make the resulting documents more coherent > and organized. The disadvantage is that the people maintaining the docs > have to be responsive and attentive to other's contributions, and it > needs to be easy for everybody to suggest changes and or additions. > > 2. Use the Wiki idea as proposed by Brian, copied below. This very open > design means that everybody can add and update material easily. This is > often a good thing, but I do have some concerns: > * With multiple independent authors, the docs may become a little > scattered and divergent in their coverage and format, making it hard for > people to navigate and possibly compromising their accuracy. > * I hope Wiki has some backup or versioning system. What protection > exists against accidental or deliberate deletion of material? > > Either way, the docs should be reviewed by, and have the support of, the > core Jython developers. IMO, ideally this means Finn Bock, because he > would seem to be best qualified to ensure their accuracy. > > Does anybody want to propose other home candidates, or indicate an > preference for one of the above? > Brian, can you comment on versioning and backup protection for Wiki? > > Regards > Ben |
From: Rich S. <rse...@ya...> - 2001-05-25 17:08:13
|
Hi Joshua, I can understand your suspicion, it is hard to believe that something like Jython could go undiscovered if it was really any good. But, it has. FWIW, at my company, we have developed a very large & complex body of software using Jython. It has been deployed at quite a few Fortune 500 companies, and it is working very well. We have encountered almost no problems with it. It really works, and the combination of Jython/Java is the best developement environment I have ever used. Finn and Samuele have done an amazing job of tracking new Python features, Jython is never far behind the current state of the art. On the rare occasion we find a bug, they have always been quick to provide a fix. Rich Seddon On Friday 25 May 2001 03:12, Joshua Fox wrote: > I've read about Jython and run a few examples, and the ideas there look > brilliant. The suspicion that comes with any product that has not received > frequent updates, has limited documentation, and little media attention > (all these exist, but in small quantity) is that the product is not mature, > that it has strange bugs that I will be the first to find. So, can I ask a > question that might seem strange on the Jython list: Is it mature? Does it > provide all advertised functionality with no disastrous bugs? I can say > this about CPython, I think. What about Jython? > > Thanks, > > Joshua Fox > > jo...@jo... > > http://www.joshuafox.com > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Ben H. <ben...@fi...> - 2001-05-25 10:33:50
|
Well, I am pleased so so many people are interested and willing to contribute to improving the Jython documentation. I think finding a home is the first step, and I would definitely prefer it to be integrated with the jython development site at sourceforge. 1. Add a Docs tab to the jython project page and authorize some interested people to check in docs to CVS. This has the advantage of very tight integration with the Jython development project. Having a small team of maintainers may make the resulting documents more coherent and organized. The disadvantage is that the people maintaining the docs have to be responsive and attentive to other's contributions, and it needs to be easy for everybody to suggest changes and or additions. 2. Use the Wiki idea as proposed by Brian, copied below. This very open design means that everybody can add and update material easily. This is often a good thing, but I do have some concerns: * With multiple independent authors, the docs may become a little scattered and divergent in their coverage and format, making it hard for people to navigate and possibly compromising their accuracy. * I hope Wiki has some backup or versioning system. What protection exists against accidental or deliberate deletion of material? (Possibly, we could start with Wiki to gather material easily, then collate it together, check it for errors, and transfer it to the jython project) Either way, the docs should be reviewed by, and have the support of, the core Jython developers. IMO, ideally this means Finn Bock, because he would seem to be best qualified to ensure their accuracy. Does anybody want to propose other home candidates, or indicate an preference for one of the above? Brian, can you comment on versioning and backup protection for Wiki? Regards Ben Brian Zhou wrote: Would suggest hosting a wiki site on jython.org. See http://jywiki.sourceforge.net/index.php?WikiWikiWeb for some pointers explaining the wiki idea. Good thing about wiki is everybody can easily participate and share, the pages are automatically indexed; downside is that it's not as systematically organized. I put out a few page starting at http://jywiki.sourceforge.net/index.php?JythonServlet focusing on jython servlet, but don't have a lot of time adding things to it. Feel free to add pages from here http://jywiki.sourceforge.net/index.php?AddingPages |
From: Joshua F. <jo...@jo...> - 2001-05-25 09:20:06
|
I've read about Jython and run a few examples, and the ideas there look brilliant. The suspicion that comes with any product that has not received frequent updates, has limited documentation, and little media attention (all these exist, but in small quantity) is that the product is not mature, that it has strange bugs that I will be the first to find. So, can I ask a question that might seem strange on the Jython list: Is it mature? Does it provide all advertised functionality with no disastrous bugs? I can say this about CPython, I think. What about Jython? Thanks, Joshua Fox jo...@jo... http://www.joshuafox.com |
From: Brian Z. <bri...@ya...> - 2001-05-25 02:33:49
|
Would suggest hosting a wiki site on jython.org. See http://jywiki.sourceforge.net/index.php?WikiWikiWeb for some pointers explaining the wiki idea. Good thing about wiki is everybody can easily participate and share, the pages are automatically indexed; downside is that it's not as systematically organized. I put out a few page starting at http://jywiki.sourceforge.net/index.php?JythonServlet focusing on jython servlet, but don't have a lot of time adding things to it. Feel free to add pages from here http://jywiki.sourceforge.net/index.php?AddingPages -Brian ----- Original Message ----- From: "Joshua Fox" <jo...@jo...> To: <jyt...@li...> Sent: Thursday, May 24, 2001 12:12 AM Subject: [Jython-users] Jython documentation > I have enjoyed reading Eckels' work in Thinking in Patterns about Jython's > capabilities in scripting Java apps. > > We have not found any other documentation about the Java-specific > capabilities of Jython: Calling Java classses from Python, interpreting > Python code in a Java app, compiling Python classes to *.class, etc. > > Is there any such documentation? > > Joshua > > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users > |
From: Sells, F. <fr...@ad...> - 2001-05-24 18:13:20
|
I would be willing to help. Have done quite a bit of Python/Jython/Swing and well as extensive specs and user manuals. -----Original Message----- From: Ben Hutchison [mailto:ben...@fi...] Sent: Thursday, May 24, 2001 12:29 PM To: jython-users Subject: Re: [Jython-users] Jython documentation Sarwar Raza wrote: >Would anyone be interested in collaborating on the >'Jython documentation project' - of course not on the >scale of the Linux or Python docs, but you get the >general idea. > >thanks >-Sarwar > Yes I would. A starting point would be to host it somewhere. Maybe at jython.org makes most sense, or we could create project in sourceforge without too much trouble.Or do you prefer another project host? Then, the next question is what to attempt, both style of documentation and coverage? In terms of content coverage, some ideas: Fundamentals: basic differences between Java and Python jython types and their mapping to java, python calling java from jython calling python from jython starting jython interpreter from java calling java methods from jython handling java exceptions in jython discuss jython scripts as java classes subclassing java classes in jython + Java reflection special jython keywords -> javabeans properties mapping String handling in jython vs Java dir() in jython Jython software and tools using interactive interpreter configuration properties command line options for tools layout & description of installed files using jythonc using python modules using java debuggers jython performance considerations Resources jython web site Bruce Eckel - thinking in patterns python web site Thats a start. Regards Ben > _______________________________________________ Jython-users mailing list Jyt...@li... http://lists.sourceforge.net/lists/listinfo/jython-users |
From: Bugbee, L. <Lar...@PS...> - 2001-05-24 17:08:41
|
Excellent start. The next question is perhaps Reference vs Tutorial? ...assumptions about the reader's background. How much do we want to assume or presume the reader understands? Larry --------------------------------------------- [snip] Then, the next question is what to attempt, both style of documentation and coverage? In terms of content coverage, some ideas: Fundamentals: basic differences between Java and Python jython types and their mapping to java, python calling java from jython calling python from jython starting jython interpreter from java calling java methods from jython handling java exceptions in jython discuss jython scripts as java classes subclassing java classes in jython + Java reflection special jython keywords -> javabeans properties mapping String handling in jython vs Java dir() in jython Jython software and tools using interactive interpreter configuration properties command line options for tools layout & description of installed files using jythonc using python modules using java debuggers jython performance considerations Resources jython web site Bruce Eckel - thinking in patterns python web site Thats a start. Regards Ben > _______________________________________________ Jython-users mailing list Jyt...@li... http://lists.sourceforge.net/lists/listinfo/jython-users |