You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(107) |
Dec
(67) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(76) |
Feb
(125) |
Mar
(72) |
Apr
(13) |
May
(18) |
Jun
(12) |
Jul
(129) |
Aug
(47) |
Sep
(1) |
Oct
(36) |
Nov
(128) |
Dec
(124) |
2002 |
Jan
(59) |
Feb
|
Mar
(14) |
Apr
(14) |
May
(72) |
Jun
(9) |
Jul
(3) |
Aug
(5) |
Sep
(18) |
Oct
(65) |
Nov
(28) |
Dec
(12) |
2003 |
Jan
(10) |
Feb
(2) |
Mar
(4) |
Apr
(33) |
May
(21) |
Jun
(9) |
Jul
(29) |
Aug
(34) |
Sep
(4) |
Oct
(8) |
Nov
(15) |
Dec
(4) |
2004 |
Jan
(26) |
Feb
(12) |
Mar
(11) |
Apr
(9) |
May
(7) |
Jun
|
Jul
(5) |
Aug
|
Sep
(3) |
Oct
(7) |
Nov
(1) |
Dec
(10) |
2005 |
Jan
(2) |
Feb
(72) |
Mar
(16) |
Apr
(39) |
May
(48) |
Jun
(97) |
Jul
(57) |
Aug
(13) |
Sep
(16) |
Oct
(24) |
Nov
(100) |
Dec
(24) |
2006 |
Jan
(15) |
Feb
(34) |
Mar
(33) |
Apr
(31) |
May
(79) |
Jun
(64) |
Jul
(41) |
Aug
(64) |
Sep
(31) |
Oct
(46) |
Nov
(55) |
Dec
(37) |
2007 |
Jan
(32) |
Feb
(61) |
Mar
(11) |
Apr
(58) |
May
(46) |
Jun
(30) |
Jul
(94) |
Aug
(93) |
Sep
(86) |
Oct
(69) |
Nov
(125) |
Dec
(177) |
2008 |
Jan
(169) |
Feb
(97) |
Mar
(74) |
Apr
(113) |
May
(120) |
Jun
(334) |
Jul
(215) |
Aug
(237) |
Sep
(72) |
Oct
(189) |
Nov
(126) |
Dec
(160) |
2009 |
Jan
(180) |
Feb
(45) |
Mar
(98) |
Apr
(140) |
May
(151) |
Jun
(71) |
Jul
(107) |
Aug
(119) |
Sep
(73) |
Oct
(121) |
Nov
(14) |
Dec
(6) |
2010 |
Jan
(13) |
Feb
(9) |
Mar
(10) |
Apr
(64) |
May
(3) |
Jun
(16) |
Jul
(7) |
Aug
(23) |
Sep
(17) |
Oct
(37) |
Nov
(5) |
Dec
(8) |
2011 |
Jan
(10) |
Feb
(11) |
Mar
(77) |
Apr
(11) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Finn B. <bc...@us...> - 2001-01-18 09:43:28
|
Update of /cvsroot/jython/htdocs/docs In directory usw-pr-cvs1:/tmp/cvs-serv16088 Modified Files: Makefile Log Message: Removed the fag.html Index: Makefile =================================================================== RCS file: /cvsroot/jython/htdocs/docs/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** Makefile 2000/11/13 10:14:40 1.1 --- Makefile 2001/01/18 09:43:29 1.2 *************** *** 13,17 **** differences.html \ embedding.html \ - faq.html \ index.html \ interpreter.html \ --- 13,16 ---- |
From: Finn B. <bc...@us...> - 2001-01-17 16:56:47
|
Update of /cvsroot/jython/jython In directory usw-pr-cvs1:/tmp/cvs-serv20896 Modified Files: README.txt Log Message: Updated to 2.0 final. Index: README.txt =================================================================== RCS file: /cvsroot/jython/jython/README.txt,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** README.txt 2001/01/15 18:19:59 1.9 --- README.txt 2001/01/17 16:56:46 1.10 *************** *** 1,4 **** ! Welcome to Jython 2.0 rc 1 ! ============================= Jython is the successor to JPython. The Jython project was --- 1,4 ---- ! Welcome to Jython 2.0 ! ======================= Jython is the successor to JPython. The Jython project was |
From: Finn B. <bc...@us...> - 2001-01-17 16:54:45
|
Update of /cvsroot/jython/jython In directory usw-pr-cvs1:/tmp/cvs-serv20702 Modified Files: NEWS Log Message: more news. Index: NEWS =================================================================== RCS file: /cvsroot/jython/jython/NEWS,v retrieving revision 2.24 retrieving revision 2.25 diff -C2 -r2.24 -r2.25 *** NEWS 2001/01/17 15:37:11 2.24 --- NEWS 2001/01/17 16:54:44 2.25 *************** *** 5,9 **** Bug fixes. - Install the correct image for the local documention. ! 15-Jan-2001 Jython 2.0 release candidate 1 --- 5,10 ---- Bug fixes. - Install the correct image for the local documention. ! - Added os.linesep field. ! 15-Jan-2001 Jython 2.0 release candidate 1 |
From: Finn B. <bc...@us...> - 2001-01-17 16:54:19
|
Update of /cvsroot/jython/jython/Lib In directory usw-pr-cvs1:/tmp/cvs-serv20599 Modified Files: javaos.py Log Message: Added os.linesep. I already added this while using the beopen cvs, but it must have been lost during the transition to SF. Index: javaos.py =================================================================== RCS file: /cvsroot/jython/jython/Lib/javaos.py,v retrieving revision 2.3 retrieving revision 2.4 diff -C2 -r2.3 -r2.4 *** javaos.py 2000/10/11 13:03:44 2.3 --- javaos.py 2001/01/17 16:54:18 2.4 *************** *** 13,16 **** --- 13,17 ---- pathsep = java.io.File.pathSeparator defpath = '.' + linesep = java.lang.System.getProperty('line.separator') #I can do better than this... |
From: Finn B. <bc...@us...> - 2001-01-17 15:49:08
|
Update of /cvsroot/jython/htdocs In directory usw-pr-cvs1:/tmp/cvs-serv14030 Modified Files: download.ht install.ht Log Message: Updated to 2.0 final. Index: download.ht =================================================================== RCS file: /cvsroot/jython/htdocs/download.ht,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** download.ht 2001/01/16 20:34:33 1.8 --- download.ht 2001/01/17 15:49:06 1.9 *************** *** 33,37 **** <li><a href="license.html">Read the license</a> <li><a href="http://sourceforge.net/project/showfiles.php?group_id=12867"> ! Download Jython 2.0 release candidate 1</a> <li><a href="install.html">View Installation instructions</a> </ul> --- 33,37 ---- <li><a href="license.html">Read the license</a> <li><a href="http://sourceforge.net/project/showfiles.php?group_id=12867"> ! Download Jython 2.0</a> <li><a href="install.html">View Installation instructions</a> </ul> Index: install.ht =================================================================== RCS file: /cvsroot/jython/htdocs/install.ht,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** install.ht 2001/01/15 18:24:53 1.9 --- install.ht 2001/01/17 15:49:06 1.10 *************** *** 6,13 **** <A HREF="http://liftoff.sourceforge.net">LiftOff</A>. To install Jython, open the command line to the directory in which ! you have placed the jython-20rc1.class file and then type: <BLOCKQUOTE> ! <P><java interpreter> jython-20rc1</P> </BLOCKQUOTE> --- 6,13 ---- <A HREF="http://liftoff.sourceforge.net">LiftOff</A>. To install Jython, open the command line to the directory in which ! you have placed the jython-20.class file and then type: <BLOCKQUOTE> ! <P><java interpreter> jython-20</P> </BLOCKQUOTE> *************** *** 17,25 **** <BLOCKQUOTE> ! <P><TT>java jython-20rc1</TT></P> ! <P><TT>jre jython-20rc1</TT></P> ! <P><TT>jview jython-20rc1</TT> </BLOCKQUOTE> --- 17,25 ---- <BLOCKQUOTE> ! <P><TT>java jython-20</TT></P> ! <P><TT>jre jython-20</TT></P> ! <P><TT>jview jython-20</TT> </BLOCKQUOTE> *************** *** 27,37 **** <BLOCKQUOTE> ! <P><TT>env CLASSPATH=. java jython-20rc1</TT> ! <P><TT>java -cp . jython-20rc1</TT> ! <P><TT>java -classpath . jython-20rc1</TT> ! <P><TT>jview /cp:. jython-20rc1</TT> </BLOCKQUOTE> --- 27,37 ---- <BLOCKQUOTE> ! <P><TT>env CLASSPATH=. java jython-20</TT> ! <P><TT>java -cp . jython-20</TT> ! <P><TT>java -classpath . jython-20</TT> ! <P><TT>jview /cp:. jython-20</TT> </BLOCKQUOTE> *************** *** 42,46 **** to your PATH, so running the <tt>java jython-20a</tt> command will make jython use the JRE. Specify the full path if you want to use JDK instead, ie: ! <tt>c:\Programs\JDK1.2\bin\java -cp . jython-20rc1</tt>. <P>If you do not have a GUI, then add <tt>-o dir_to_install_to</tt> to the --- 42,46 ---- to your PATH, so running the <tt>java jython-20a</tt> command will make jython use the JRE. Specify the full path if you want to use JDK instead, ie: ! <tt>c:\Programs\JDK1.2\bin\java -cp . jython-20</tt>. <P>If you do not have a GUI, then add <tt>-o dir_to_install_to</tt> to the *************** *** 50,54 **** <BLOCKQUOTE> ! <P><TT><java interpreter> jython-20rc1 -o Jython-2.0 demo lib source</TT> </BLOCKQUOTE> --- 50,54 ---- <BLOCKQUOTE> ! <P><TT><java interpreter> jython-20 -o Jython-2.0 demo lib source</TT> </BLOCKQUOTE> *************** *** 82,86 **** <A HREF="mailto:jyt...@li...">jython-dev</A>. ! <P>As a workaround you can extract the jython-20rc1.class manually. The class file is basicly a .zip file and most unzip programs can manage to extract the contents of the class into a directory. --- 82,86 ---- <A HREF="mailto:jyt...@li...">jython-dev</A>. ! <P>As a workaround you can extract the jython-20.class manually. The class file is basicly a .zip file and most unzip programs can manage to extract the contents of the class into a directory. |
From: Finn B. <bc...@us...> - 2001-01-17 15:45:23
|
Update of /cvsroot/jython/jython/org/python/core In directory usw-pr-cvs1:/tmp/cvs-serv13684 Modified Files: PySystemState.java Log Message: Updated to 2.0 final. Index: PySystemState.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PySystemState.java,v retrieving revision 2.42 retrieving revision 2.43 diff -C2 -r2.42 -r2.43 *** PySystemState.java 2001/01/15 18:26:42 2.42 --- PySystemState.java 2001/01/17 15:45:21 2.43 *************** *** 14,18 **** * The current version of JPython. */ ! public static String version = "2.0rc1"; /** --- 14,18 ---- * The current version of JPython. */ ! public static String version = "2.0"; /** |
From: Finn B. <bc...@us...> - 2001-01-17 15:42:00
|
Update of /cvsroot/jython/jython/installer In directory usw-pr-cvs1:/tmp/cvs-serv13353 Modified Files: liftoff.props Log Message: Updated to 2.0 final. Index: liftoff.props =================================================================== RCS file: /cvsroot/jython/jython/installer/liftoff.props,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** liftoff.props 2001/01/15 18:25:53 1.7 --- liftoff.props 2001/01/17 15:41:58 1.8 *************** *** 2,9 **** product.author=The Jython Team product.string=Jython ! product.version=2.0rc1 java.minVersion=1.1 product.root= ! destination.package_prefix=jython-2.0rc1 license.licenseText=LICENSE.txt product.readmeText=README.txt --- 2,9 ---- product.author=The Jython Team product.string=Jython ! product.version=2.0 java.minVersion=1.1 product.root= ! destination.package_prefix=jython-2.0 license.licenseText=LICENSE.txt product.readmeText=README.txt |
From: Finn B. <bc...@us...> - 2001-01-17 15:40:29
|
Update of /cvsroot/jython/jython/installer In directory usw-pr-cvs1:/tmp/cvs-serv13299 Modified Files: liftoff.filelist Log Message: Add latest additions. Index: liftoff.filelist =================================================================== RCS file: /cvsroot/jython/jython/installer/liftoff.filelist,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** liftoff.filelist 2001/01/16 20:41:31 1.11 --- liftoff.filelist 2001/01/17 15:40:27 1.12 *************** *** 67,71 **** t Doc/differences.html ..\Doc\differences.html t Doc/embedding.html ..\Doc\embedding.html - t Doc/faq.html ..\Doc\faq.html t Doc/index.html ..\Doc\index.html t Doc/interpreter.html ..\Doc\interpreter.html --- 67,70 ---- *************** *** 268,271 **** --- 267,271 ---- t org/python/modules/ucnhash.java ..\org\python\modules\ucnhash.java t org/python/modules/_codecs.java ..\org\python\modules\_codecs.java + t org/python/modules/_jython.java ..\org\python\modules\_jython.java t org/python/modules/_sre.java ..\org\python\modules\_sre.java t org/python/modules/Makefile ..\org\python\modules\Makefile *************** *** 294,297 **** --- 294,298 ---- t org/python/util/Makefile ..\org\python\util\Makefile t Lib/jxxload_help/DiscardHelp.java ..\Lib\jxxload_help\DiscardHelp.java + t Lib/jxxload_help/JavaLoaderFactory.java ..\Lib\jxxload_help\JavaLoaderFactory.java t Lib/jxxload_help/PackageManager.java ..\Lib\jxxload_help\PackageManager.java t Lib/jxxload_help/PathVFS.java ..\Lib\jxxload_help\PathVFS.java |
From: Finn B. <bc...@us...> - 2001-01-17 15:37:12
|
Update of /cvsroot/jython/jython In directory usw-pr-cvs1:/tmp/cvs-serv12927 Modified Files: NEWS Log Message: Some final news. Index: NEWS =================================================================== RCS file: /cvsroot/jython/jython/NEWS,v retrieving revision 2.23 retrieving revision 2.24 diff -C2 -r2.23 -r2.24 *** NEWS 2001/01/15 18:18:50 2.23 --- NEWS 2001/01/17 15:37:11 2.24 *************** *** 1,4 **** --- 1,9 ---- Jython NEWS + 17-Jan-2001 Jython 2.0 final release + + Bug fixes. + - Install the correct image for the local documention. + 15-Jan-2001 Jython 2.0 release candidate 1 |
From: Samuele P. <ped...@us...> - 2001-01-17 13:54:18
|
Update of /cvsroot/jython/jython In directory usw-pr-cvs1:/tmp/cvs-serv4866 Modified Files: ACKNOWLEDGMENTS Log Message: fixed typos. Index: ACKNOWLEDGMENTS =================================================================== RCS file: /cvsroot/jython/jython/ACKNOWLEDGMENTS,v retrieving revision 2.7 retrieving revision 2.8 diff -C2 -r2.7 -r2.8 *** ACKNOWLEDGMENTS 2001/01/15 18:18:02 2.7 --- ACKNOWLEDGMENTS 2001/01/17 13:54:16 2.8 *************** *** 12,16 **** jyt...@li.... ! Finn Bock has been a frequent and valuable contributor to the Jython, and has provided bug fixes and these important modules: --- 12,16 ---- jyt...@li.... ! Finn Bock has been a frequent and valuable contributor to Jython, and has provided bug fixes and these important modules: *************** *** 24,28 **** The SHA1 implementation is taken from cryptix. ! Samuele Pedroni have designed and implemented the improved PackageManagers and java reload support and also fixed a lot of bugs. --- 24,28 ---- The SHA1 implementation is taken from cryptix. ! Samuele Pedroni has designed and implemented the improved PackageManagers and java reload support and also fixed a lot of bugs. |
From: Finn B. <bc...@us...> - 2001-01-17 11:51:16
|
Update of /cvsroot/jython/jython/org/python/core In directory usw-pr-cvs1:/tmp/cvs-serv28916 Modified Files: Py.java Log Message: Keep the reference to PyJavaClass(__builtin__) alive during initialization. Index: Py.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/Py.java,v retrieving revision 2.30 retrieving revision 2.31 diff -C2 -r2.30 -r2.31 *** Py.java 2001/01/10 11:32:10 2.30 --- Py.java 2001/01/17 11:51:14 2.31 *************** *** 374,380 **** } public static void setBuiltinExceptions() { ! PyObject dict = PyJavaClass.lookup( ! org.python.core.__builtin__.class).__getattr__("__dict__"); dict.__setitem__("Exception", Py.Exception); dict.__setitem__("TypeError", Py.TypeError); --- 374,385 ---- } + // This is just to save a reference, so the weak implementation + // of internal tables does not remove it shortly after initialization. + private static PyJavaClass __builtin__class; + public static void setBuiltinExceptions() { ! __builtin__class = ! PyJavaClass.lookup(org.python.core.__builtin__.class); ! PyObject dict = __builtin__class.__getattr__("__dict__"); dict.__setitem__("Exception", Py.Exception); dict.__setitem__("TypeError", Py.TypeError); |
From: Samuele P. <ped...@us...> - 2001-01-17 02:24:04
|
Update of /cvsroot/jython/jython/Lib/jxxload_help In directory usw-pr-cvs1:/tmp/cvs-serv22381/jxxload_help Modified Files: PackageManager.java Added Files: JavaLoaderFactory.java Log Message: java reload support 0.2. --- NEW FILE --- // Copyright 2000 Samuele Pedroni package jxxload_help; public interface JavaLoaderFactory { public ClassLoader makeLoader(); } Index: PackageManager.java =================================================================== RCS file: /cvsroot/jython/jython/Lib/jxxload_help/PackageManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** PackageManager.java 2001/01/15 04:51:57 1.1 --- PackageManager.java 2001/01/17 02:24:00 1.2 *************** *** 5,17 **** public class PackageManager extends org.python.core.PathPackageManager { ! private ClassLoader parent; private ClassLoader loader; - public PathVFS vfs; public synchronized ClassLoader getLoader() { ! if (loader == null) loader = new PathVFSJavaLoader(vfs,parent); return loader; } public synchronized void resetLoader() { loader = null; --- 5,20 ---- public class PackageManager extends org.python.core.PathPackageManager { ! private JavaLoaderFactory factory; private ClassLoader loader; public synchronized ClassLoader getLoader() { ! if (loader == null) loader = factory.makeLoader(); return loader; } + public synchronized ClassLoader checkLoader() { + return loader; + } + public synchronized void resetLoader() { loader = null; *************** *** 19,25 **** // ??pending add cache support? ! public PackageManager(org.python.core.PyList path,ClassLoader parent) { ! vfs = new PathVFS(); ! this.parent = parent; for (int i = 0; i < path.__len__(); i++) { --- 22,27 ---- // ??pending add cache support? ! public PackageManager(org.python.core.PyList path,JavaLoaderFactory factory) { ! this.factory = factory; for (int i = 0; i < path.__len__(); i++) { *************** *** 31,35 **** if (entry.length() == 0 || dir.isDirectory()) addDirectory(dir); } - vfs.addVFS(entry); } } --- 33,36 ---- |
From: Samuele P. <ped...@us...> - 2001-01-17 02:24:04
|
Update of /cvsroot/jython/jython/Lib In directory usw-pr-cvs1:/tmp/cvs-serv22381 Modified Files: jreload.py Log Message: java reload support 0.2. Index: jreload.py =================================================================== RCS file: /cvsroot/jython/jython/Lib/jreload.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** jreload.py 2001/01/15 04:50:37 1.1 --- jreload.py 2001/01/17 02:24:00 1.2 *************** *** 1,18 **** # java classes reload support (experimental) # Copyright 2000 Samuele Pedroni ! # ?? doc pending ! __version__ = "0.1" import sys from org.python.core import imp,PyJavaPackage,PyJavaClass import jxxload_help class _Unload: def __init__(self,ls): self.ls = ls self.loader = ls._mgr.loader --- 1,34 ---- # java classes reload support (experimental) # Copyright 2000 Samuele Pedroni ! # ?? doc + examples pending ! # ?? could have problem with import pkg.jclass.inner (this should not be used in any case) ! # ?? using import * with a load-set together with reloading can be confusing ! # cannot be fixed => anyway import * is not for production code + __version__ = "0.2" + import sys from org.python.core import imp,PyJavaPackage,PyJavaClass + from _jython import is_lazy as _is_lazy import jxxload_help + class _LoaderFactory(jxxload_help.JavaLoaderFactory): + def __init__(self,path): + vfs = jxxload_help.PathVFS() + for fname in path: + vfs.addVFS(fname) + self.vfs = vfs + + def makeLoader(self): + return jxxload_help.PathVFSJavaLoader(self.vfs,imp.getSyspathJavaLoader()) + class _Unload: def __init__(self,ls): self.ls = ls + self.ls_name = ls._name self.loader = ls._mgr.loader *************** *** 21,27 **** e = pkg.__dict__[n] if isinstance(e,PyJavaClass): ! if PyJavaClass.isLazy(e): continue if e.classLoader is self.loader: del pkg.__dict__[n] elif isinstance(e,PyJavaPackage): self.do_unload(e) --- 37,49 ---- e = pkg.__dict__[n] if isinstance(e,PyJavaClass): ! if _is_lazy(e): continue if e.classLoader is self.loader: del pkg.__dict__[n] + if pkg.__name__: + n = self.ls_name + '.' + pkg.__name__ + '.' +n + else: + n = self.ls_name + '.' + n + if sys.modules.has_key(n): del sys.modules[n] + elif isinstance(e,PyJavaPackage): self.do_unload(e) *************** *** 29,37 **** def __call__(self): if self.loader: ! self.do_unload(self.ls._top) loader = self.loader jxxload_help.DiscardHelp.discard(loader,loader.interfaces) - if self.ls._mgr.loader is self.loader: - self.ls._mgr.resetLoader() self.loader = None --- 51,59 ---- def __call__(self): if self.loader: ! if self.ls._mgr.checkLoader() is self.loader: ! self.do_unload(self.ls._top) ! self.ls._mgr.resetLoader() loader = self.loader jxxload_help.DiscardHelp.discard(loader,loader.interfaces) self.loader = None *************** *** 42,46 **** def __init__(self,name,path): ! mgr = jxxload_help.PackageManager(path,imp.getSyspathJavaLoader()) self._name = name self._mgr = mgr --- 64,68 ---- def __init__(self,name,path): ! mgr = jxxload_help.PackageManager(path,_LoaderFactory(path)) self._name = name self._mgr = mgr *************** *** 48,59 **** def __getattr__(self,name): ! if name == 'unload': ! return _Unload(self) ! else: return getattr(self._top,name) def __repr__(self): return "<java load-set %s>" % self._name def makeLoadSet(name,path): if sys.modules.has_key('name'): return sys.modules[name] --- 70,87 ---- def __getattr__(self,name): ! try: return getattr(self._top,name) + except: + if name == 'unload': return _Unload(self) + raise + def __repr__(self): return "<java load-set %s>" % self._name + def unloadf(ls): + if not isinstance(ls,LoadSet): raise TypeError,"unloadf(): arg is not a load-set" + return _Unload(ls) + def makeLoadSet(name,path): if sys.modules.has_key('name'): return sys.modules[name] *************** *** 63,72 **** _reload = reload ! def _do_reload(mgr,pkg): pkg_name = pkg.__name__ for n in pkg.__dict__.keys(): e = pkg.__dict__[n] if isinstance(e,PyJavaClass): ! if PyJavaClass.isLazy(e): continue del pkg.__dict__[n] try : --- 91,100 ---- _reload = reload ! def _do_reload(ls_name,mgr,pkg): pkg_name = pkg.__name__ for n in pkg.__dict__.keys(): e = pkg.__dict__[n] if isinstance(e,PyJavaClass): ! if _is_lazy(e): continue del pkg.__dict__[n] try : *************** *** 74,86 **** if c: pkg.__dict__[n] = c except: pass elif isinstance(e,PyJavaPackage): ! _do_reload(mgr,e) def reload(ls): if isinstance(ls,LoadSet): ls._mgr.resetLoader() ! _do_reload(ls._mgr,ls._top) else: return _reload(ls) --- 102,120 ---- if c: pkg.__dict__[n] = c + if pkg_name: + n = ls_name + '.' + pkg_name + '.' + n + else: + n = ls_name + '.' + n + if sys.modules.has_key(n): sys.modules[n] = c except: pass elif isinstance(e,PyJavaPackage): ! _do_reload(ls_name,mgr,e) def reload(ls): if isinstance(ls,LoadSet): ls._mgr.resetLoader() ! _do_reload(ls._name,ls._mgr,ls._top) ! return ls else: return _reload(ls) |
From: Samuele P. <ped...@us...> - 2001-01-17 02:21:12
|
Update of /cvsroot/jython/jython/org/python/core In directory usw-pr-cvs1:/tmp/cvs-serv22267/core Modified Files: PyJavaClass.java Log Message: avoids isLazy hack. introduces jython internal functs built-in module _jython (with is_lazy). Index: PyJavaClass.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PyJavaClass.java,v retrieving revision 2.29 retrieving revision 2.30 diff -C2 -r2.29 -r2.30 *** PyJavaClass.java 2001/01/15 04:44:33 2.29 --- PyJavaClass.java 2001/01/17 02:21:09 2.30 *************** *** 19,24 **** } ! public static final boolean isLazy(PyJavaClass jc) { // ?? for jreload ! return jc.proxyClass == null; } --- 19,24 ---- } ! public final boolean isLazy() { ! return proxyClass == null; } *************** *** 797,801 **** public Object __tojava__(Class c) { ! if (c != PyJavaClass.class) initialize(); // ?? for isLazy return super.__tojava__(c); } --- 797,801 ---- public Object __tojava__(Class c) { ! initialize(); return super.__tojava__(c); } |
From: Samuele P. <ped...@us...> - 2001-01-17 02:21:12
|
Update of /cvsroot/jython/jython/org/python/modules In directory usw-pr-cvs1:/tmp/cvs-serv22267/modules Modified Files: Setup.java Added Files: _jython.java Log Message: avoids isLazy hack. introduces jython internal functs built-in module _jython (with is_lazy). --- NEW FILE --- package org.python.modules; import org.python.core.*; class JythonInternalFunctions extends PyBuiltinFunctionSet { public JythonInternalFunctions(String name, int index, int argcount) { super(name, index, argcount, argcount, false, null); } public PyObject __call__(PyObject arg) { switch (index) { case 0: if(!(arg instanceof PyJavaClass)) throw Py.TypeError("is_lazy(): arg is not a jclass"); return Py.newBoolean(((PyJavaClass)arg).isLazy()); default: throw argCountError(1); } } } public class _jython implements ClassDictInit { public static void classDictInit(PyObject dict) { dict.__setitem__("is_lazy", new JythonInternalFunctions("is_lazy", 0, 1)); } } Index: Setup.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/modules/Setup.java,v retrieving revision 2.13 retrieving revision 2.14 diff -C2 -r2.13 -r2.14 *** Setup.java 2000/12/23 14:03:50 2.13 --- Setup.java 2001/01/17 02:21:09 2.14 *************** *** 49,52 **** --- 49,53 ---- "sha", "ucnhash", + "_jython", }; } |
From: Finn B. <bc...@us...> - 2001-01-16 20:41:35
|
Update of /cvsroot/jython/jython/installer In directory usw-pr-cvs1:/tmp/cvs-serv15446 Modified Files: liftoff.filelist Log Message: Install the correct image. Do not install the .ht files. Index: liftoff.filelist =================================================================== RCS file: /cvsroot/jython/jython/installer/liftoff.filelist,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** liftoff.filelist 2001/01/15 19:28:11 1.10 --- liftoff.filelist 2001/01/16 20:41:31 1.11 *************** *** 77,94 **** t Doc/usejava.html ..\Doc\usejava.html t Doc/whatis.html ..\Doc\whatis.html ! t Doc/compile.ht ..\Doc\compile.ht ! t Doc/differences.ht ..\Doc\differences.ht ! t Doc/embedding.ht ..\Doc\embedding.ht ! t Doc/faq.ht ..\Doc\faq.ht ! t Doc/index.ht ..\Doc\index.ht ! t Doc/interpreter.ht ..\Doc\interpreter.ht ! t Doc/jarray.ht ..\Doc\jarray.ht ! t Doc/jythonc.ht ..\Doc\jythonc.ht ! t Doc/properties.ht ..\Doc\properties.ht ! t Doc/registry.ht ..\Doc\registry.ht ! t Doc/subclassing.ht ..\Doc\subclassing.ht ! t Doc/usejava.ht ..\Doc\usejava.ht ! t Doc/whatis.ht ..\Doc\whatis.ht ! b Doc/images/jpython-new-small.gif ..\Doc/images/jpython-new-small.gif b Doc/images/PythonPoweredSmall.gif ..\Doc/images/PythonPoweredSmall.gif t Doc/api/org.python.util.PythonInterpreter.html ..\Doc\api\org.python.util.PythonInterpreter.html --- 77,81 ---- t Doc/usejava.html ..\Doc\usejava.html t Doc/whatis.html ..\Doc\whatis.html ! b Doc/images/jython-new-small.gif ..\Doc/images/jython-new-small.gif b Doc/images/PythonPoweredSmall.gif ..\Doc/images/PythonPoweredSmall.gif t Doc/api/org.python.util.PythonInterpreter.html ..\Doc\api\org.python.util.PythonInterpreter.html |
From: Finn B. <bc...@us...> - 2001-01-16 20:40:39
|
Update of /cvsroot/jython/jython/installer In directory usw-pr-cvs1:/tmp/cvs-serv15339 Modified Files: mklist.py Log Message: Install the correct image. Do not install the .ht files. Index: mklist.py =================================================================== RCS file: /cvsroot/jython/jython/installer/mklist.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** mklist.py 2001/01/15 19:28:11 1.8 --- mklist.py 2001/01/16 20:40:35 1.9 *************** *** 176,181 **** comment("Docs") ! listfiles(None, "Doc", '*.html', '*.ht') ! binary("Doc/images/jpython-new-small.gif") binary("Doc/images/PythonPoweredSmall.gif") listfiles(None, "Doc/api", '*.html') --- 176,181 ---- comment("Docs") ! listfiles(None, "Doc", '*.html') ! binary("Doc/images/jython-new-small.gif") binary("Doc/images/PythonPoweredSmall.gif") listfiles(None, "Doc/api", '*.html') |
From: Finn B. <bc...@us...> - 2001-01-16 20:38:46
|
Update of /cvsroot/jython/jython/Doc In directory usw-pr-cvs1:/tmp/cvs-serv15032 Modified Files: index.ht Log Message: Use www.jython.org as site url. Index: index.ht =================================================================== RCS file: /cvsroot/jython/jython/Doc/index.ht,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** index.ht 2000/11/30 08:52:08 1.4 --- index.ht 2001/01/16 20:38:42 1.5 *************** *** 88,92 **** Jython and CPython</a>. ! <li>The <a href="http://jython.sourceforge.net/cgi-bin/faqw.py?req=index"> Jython FAQ</a> may already contain the answer to your question... --- 88,92 ---- Jython and CPython</a>. ! <li>The <a href="http://www.jython.org/cgi-bin/faqw.py?req=index"> Jython FAQ</a> may already contain the answer to your question... |
From: Finn B. <bc...@us...> - 2001-01-16 20:37:07
|
Update of /cvsroot/jython/jython/Doc In directory usw-pr-cvs1:/tmp/cvs-serv14823 Removed Files: faq.ht Log Message: Use the faqwizard instead. --- faq.ht DELETED --- |
From: Finn B. <bc...@us...> - 2001-01-16 20:36:25
|
Update of /cvsroot/jython/jython/Doc In directory usw-pr-cvs1:/tmp/cvs-serv14764 Modified Files: links.h Log Message: Link to the faqwizard. Index: links.h =================================================================== RCS file: /cvsroot/jython/jython/Doc/links.h,v retrieving revision 2.1 retrieving revision 2.2 diff -C2 -r2.1 -r2.2 *** links.h 2000/11/12 22:22:06 2.1 --- links.h 2001/01/16 20:36:21 2.2 *************** *** 18,22 **** <h3>Other</h3> <li><a href="differences.html">Jython vs. CPython</a> ! <li><a href="faq.html">Jython FAQ</a> <li><a href="http://www.geocrawler.com/archives/3/7017/2000/">List Archives</a> (exit) <LI><A HREF="http://www.python.org/workshops/1997-10/proceedings/hugunin.html">JPython paper</A> (exit) --- 18,22 ---- <h3>Other</h3> <li><a href="differences.html">Jython vs. CPython</a> ! <li><a href="http://www.jython.org/cgi-bin/faqw.py?req=index">Jython FAQ (exit)</a> <li><a href="http://www.geocrawler.com/archives/3/7017/2000/">List Archives</a> (exit) <LI><A HREF="http://www.python.org/workshops/1997-10/proceedings/hugunin.html">JPython paper</A> (exit) |
From: Finn B. <bc...@us...> - 2001-01-16 20:34:37
|
Update of /cvsroot/jython/htdocs In directory usw-pr-cvs1:/tmp/cvs-serv14474 Modified Files: MacOS_Install.ht download.ht index.ht links.h Log Message: Use www.jython.org as site URL. Index: MacOS_Install.ht =================================================================== RCS file: /cvsroot/jython/htdocs/MacOS_Install.ht,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** MacOS_Install.ht 2000/12/31 13:40:32 1.1 --- MacOS_Install.ht 2001/01/16 20:34:33 1.2 *************** *** 10,14 **** http://developer.apple.com/java/download.html</a>. <br>Don't choose MRJ 2.2.3, because it has does not have _batteries included_. ! <li>The Jython installer: <a href="http://jython.sourceforge.net/download.html">http://jython.sourceforge.net/download.html</a> <li><a href="MacOS_Install2.html">Start the the jython installer</a>. <li><a href="MacOS_Install3.html">Running the jython installer</a>. --- 10,14 ---- http://developer.apple.com/java/download.html</a>. <br>Don't choose MRJ 2.2.3, because it has does not have _batteries included_. ! <li>The Jython installer: <a href="http://www.jython.org/download.html">http://www.jython.org/download.html</a> <li><a href="MacOS_Install2.html">Start the the jython installer</a>. <li><a href="MacOS_Install3.html">Running the jython installer</a>. Index: download.ht =================================================================== RCS file: /cvsroot/jython/htdocs/download.ht,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** download.ht 2001/01/15 18:23:58 1.7 --- download.ht 2001/01/16 20:34:33 1.8 *************** *** 8,13 **** <p>Nightly snapshots of the CVS repository are also available as ! <a href="http://jython.sourceforge.net/cvssnaps/jython-nightly.tar.gz">.tar.gz</a> ! and <a href="http://jython.sourceforge.net/cvssnaps/jython-nightly.zip">.zip</a> files. <p>Here are the steps you need to perform in order to download Jython. --- 8,13 ---- <p>Nightly snapshots of the CVS repository are also available as ! <a href="http://www.jython.org/cvssnaps/jython-nightly.tar.gz">.tar.gz</a> ! and <a href="http://www.jython.org/cvssnaps/jython-nightly.zip">.zip</a> files. <p>Here are the steps you need to perform in order to download Jython. Index: index.ht =================================================================== RCS file: /cvsroot/jython/htdocs/index.ht,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** index.ht 2001/01/15 18:24:32 1.12 --- index.ht 2001/01/16 20:34:33 1.13 *************** *** 12,16 **** <li><A HREF="download.html">Download</a> the lastest version. <li><A HREF="docs/index.html">Documentation</A> ! <li>The Jython <A HREF="http://jython.sourceforge.net/cgi-bin/faqw.py?req=index">FAQ</A>. </ul> --- 12,16 ---- <li><A HREF="download.html">Download</a> the lastest version. <li><A HREF="docs/index.html">Documentation</A> ! <li>The Jython <A HREF="http://www.jython.org/cgi-bin/faqw.py?req=index">FAQ</A>. </ul> Index: links.h =================================================================== RCS file: /cvsroot/jython/htdocs/links.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** links.h 2001/01/15 20:53:25 1.5 --- links.h 2001/01/16 20:34:33 1.6 *************** *** 16,20 **** <li><a href="docs/whatis.html">What is Jython</a> <li><a href="docs/index.html">All Documentation</a> ! <li><a href="http://jython.sourceforge.net/cgi-bin/faqw.py?req=index">FAQ</a> <li><a href="http://www.jpython.org/jpython-talk-1.ppt">JimH's Slides</a> <br>(PowerPoint, ~239KB) --- 16,20 ---- <li><a href="docs/whatis.html">What is Jython</a> <li><a href="docs/index.html">All Documentation</a> ! <li><a href="http://www.jython.org/cgi-bin/faqw.py?req=index">FAQ</a> <li><a href="http://www.jpython.org/jpython-talk-1.ppt">JimH's Slides</a> <br>(PowerPoint, ~239KB) |
From: Finn B. <bc...@us...> - 2001-01-15 20:53:33
|
Update of /cvsroot/jython/htdocs In directory usw-pr-cvs1:/tmp/cvs-serv20441 Modified Files: links.h Log Message: Removed the graphics submissions link. Index: links.h =================================================================== RCS file: /cvsroot/jython/htdocs/links.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** links.h 2000/11/30 08:57:42 1.4 --- links.h 2001/01/15 20:53:25 1.5 *************** *** 12,16 **** <li><a href="http://sourceforge.net/bugs/?group_id=12867">Bugs (exit)</a> <li><a href="users.html">Jython Users</a> - <li><a href="graphics.html">Graphics submissions</a> <h3>Doc Quick Links</h3> --- 12,15 ---- |
From: Finn B. <bc...@us...> - 2001-01-15 19:51:58
|
Update of /cvsroot/jython/htdocs In directory usw-pr-cvs1:/tmp/cvs-serv22861 Modified Files: NEWS.ht Log Message: Updated to rc1. Index: NEWS.ht =================================================================== RCS file: /cvsroot/jython/htdocs/NEWS.ht,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** NEWS.ht 2001/01/10 11:25:13 1.5 --- NEWS.ht 2001/01/15 19:51:51 1.6 *************** *** 2,5 **** --- 2,15 ---- Jython NEWS + 15-Jan-2001 Jython 2.0 release candidate 1 + + New features + - Experimental support for reloading java packages. Thanks to + Samuele Pedroni for all his work on the Jython/Java integration. + + Bug fixes. + - Prevent a NPE when a .jar on the classpath is corrupt. Instead + a message with the original IOException is printed. + 10-Jan-2001 Jython 2.0 beta 2 |
From: Finn B. <bc...@us...> - 2001-01-15 19:28:18
|
Update of /cvsroot/jython/jython/installer In directory usw-pr-cvs1:/tmp/cvs-serv11425 Modified Files: liftoff.filelist mklist.py Log Message: Added UserString.py from CPython. Might as well since it already works. Index: liftoff.filelist =================================================================== RCS file: /cvsroot/jython/jython/installer/liftoff.filelist,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** liftoff.filelist 2001/01/15 18:38:23 1.9 --- liftoff.filelist 2001/01/15 19:28:11 1.10 *************** *** 478,481 **** --- 478,482 ---- t Lib/threading.py d:\Python20\Lib\threading.py t Lib/atexit.py d:\Python20\Lib\atexit.py + t Lib/UserString.py d:\Python20\Lib\UserString.py t Lib/site.py ..\Lib\site.py #===== end of list generated by mklist.py ===== Index: mklist.py =================================================================== RCS file: /cvsroot/jython/jython/installer/mklist.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** mklist.py 2001/01/15 18:38:53 1.7 --- mklist.py 2001/01/15 19:28:11 1.8 *************** *** 149,152 **** --- 149,153 ---- 'threading.py', 'atexit.py', + 'UserString.py', ] |
From: Finn B. <bc...@us...> - 2001-01-15 18:39:00
|
Update of /cvsroot/jython/jython/installer In directory usw-pr-cvs1:/tmp/cvs-serv22187 Modified Files: mklist.py Log Message: Added the new files for reload support. Index: mklist.py =================================================================== RCS file: /cvsroot/jython/jython/installer/mklist.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** mklist.py 2000/12/25 10:59:26 1.6 --- mklist.py 2001/01/15 18:38:53 1.7 *************** *** 200,203 **** --- 200,204 ---- listfiles(None, "org/python/rmi", *javafiles) listfiles(None, "org/python/util", *javafiles) + listfiles(None, "Lib/jxxload_help", *javafiles) comment("Library modules from CPython") |