I am happy to announce the release of Jython 2.1.
Jython is a Java implementation of the Python programming
language. It allows users to compile Python source code to
Java byte codes, and run the resulting bytecodes on any Java
Virtual Machine. It is a very seamless and smooth
integration with Java: from Python you have complete access
to all Java libraries, can build applets, can integrate with
Java beans, and can subclass Java classes in Python and vice
versa. Like Python, and unlike Java, Jython can also be
used interactively: just type some Jython code at the
prompt and see the results immediately.
A java installer is available for download at the Jython website:
http://www.jython.org/
Installation is started by running the installer class. Further
information and tips on installation is available at:
http://www.jython.org/install.html
Jython 2.1 is feature compatible with Python 2.1.1 and among
the new feature are:
- Improve speed when indexing a string and iterating over a string
in a for loop.
- Reworked coercing model (pep-0208)
- Added {}.popitem().
- Improved speed for python files by buffering the RandomAccessFile.
- Added function attributes (pep-0232)
- Rich comparison (pep-0207)
- Updated cPickle to handle CPython compatible unicode strings.
- Updated sre to CPython-2.1a1
- Added the "new" module
- Added a PyServlet class to the util package.
- Warning framework (pep-0230).
- Added sys.add_classdir and sys.add_extdir.
- Added nested scope to the interpreter (pep-0227).
- Added ReadlineConsole class. This class will make it a lot easier
to integrate Bablok's readline support.
- Display Hook for Interactive Use (pep-0217)
- Added zlib, gzip and zipfile modules.
- Added nested scope to jythonc (pep-0227).
- A settable console encoding will allow windows users to enter
national characters at the command prompt.
- Non-public classes are available when respectJavaAccessibility is
false
- The names of zip- and jarfiles can be added to sys.path.
- The weakref module is now available.
- The sys.exitfunc hook is called on exit and the sys.excepthook
is called when an exception occur.
- A CPython compatible xreadlines module.
- Support for os.environ and os.system() on common platforms.
- Includes zxJDBC for Python DB API 2.0 compatibility.
- support for callproc() in zxJDBC is now available for most simple
stored procedure calls.
The list of bugs fixed since the previous beta2 release includes:
- [ #493359 ] Installer should include <EXIT> button
- [ #495602 ] os.path.dirname() can result in an NPE
- [ #495604 ] imp.find_module fails when None is 2 arg
A complete list of changes and differences are available here:
http://www.jython.org/NEWS.html
Bugs can be reported to the bug manager on SourceForge:
http://sourceforge.net/bugs/?group_id=12867
Happy New Year,
the jython-developers
Announcing the latest version of HappyDoc, a Python documentation extraction
tool.
HappyDoc is a tool for extracting documentation from Python source
code. It differs from other such applications by the fact that it
uses the parse tree for a module to derive the information used in
its output, rather that importing the module directly. This allows
the user to generate documentation for modules which need special
context to be imported.
More details are available on the HappyDoc home page at
http://happydoc.sourceforge.net.
!!! NOTICE !!!
Before installing HappyDoc 2.0+, any version earlier than 2.0 must
be removed. This includes the file 'happydoc.pth' and directory
'happydoc' in site-packages, as well as the executable 'happydoc'
in the 'bin' directory.
Version 2.0 --
- **New Features**
- Rearranged much of the code base to create 'happydoclib'
package. This package protects the namespace for HappyDoc
related code, and makes it easier to reuse HappyDoc components
in other projects.
- Package descriptions can now come from the docstring of the
'__init__.py' module, instead of always having to be in a README
file.
- **Bug Fixes**
- Fixed a problem with the HTMLTable formatter that caused pages
to look odd in browsers which don't handle width attributes the
same way as Netscape.
- Upgraded to newer version of StructuredText package from Zope
CVS, resolving several rendering issues for the HTML formatter.
- **Other Changes**
- Changed command line argument handling to use '-' character in
names in addtition to underscore. That is, defining an
optionHandler_long_opt will allow the app to accept '--long-opt'
or '--long_opt'. The help text uses the '-' form, but both
are allowed on the command line for backwards compatability.
- Updated test cases to streamline regression testing.
- Rearranged some of the documentation from the root
'README.txt' into sub-packages.
Download
Download the latest version of HappyDoc from the home page on
SourceForge:
http://sourceforge.net/projects/happydoc
Version 0.7 of the Python/XML distribution is now available. It
should be considered a beta release, and can be downloaded from
the following URLs:
http://prdownloads.sourceforge.net/pyxml/PyXML-0.7.tar.gzhttp://prdownloads.sourceforge.net/pyxml/PyXML-0.7.win32-py1.5.exehttp://prdownloads.sourceforge.net/pyxml/PyXML-0.7.win32-py2.0.exehttp://prdownloads.sourceforge.net/pyxml/PyXML-0.7.win32-py2.1.exehttp://prdownloads.sourceforge.net/pyxml/PyXML-0.7-1.5.2.i386.rpmhttp://prdownloads.sourceforge.net/pyxml/PyXML-0.7-2.1.i386.rpm
Changes in this version, compared to 0.6.6:
* Expat 1.95.2 has been integrated.
* James Tauber has contributed an implementation of TREX,
in the xml.schema.trex module.
* xmlproc has been updated to produce Unicode strings in
Python 2.x using the Python codecs to convert the input.
* 4XPath and 4XSLT from the 4Suite package have been
integrated as xml.xpath and xml.xslt. Both packages are a
few releases behind 4Suite. In case of conflicts with
a 4Suite installation, passing --without-{xpath,xslt}
to setup.py is recommended.
* XBEL has been updated to revision 1.1.
* The C14N code in xml.dom.ext.c14n was completely rewritten.
* Swedish and French messages have been added to xmlproc.
* New SAX2 drivers have been added for htmllib, sgmllib,
sgmlop, and sgmlop_html.
The Python/XML distribution contains the basic tools required for
processing XML data using the Python programming language, assembled
into one easy-to-install package. The distribution includes parsers
and standard interfaces such as SAX and DOM, along with various other
useful modules.
The package currently contains:
* XML parsers: Pyexpat (Jack Jansen), xmlproc (Lars Marius
Garshol), sgmlop (Fredrik Lundh).
* SAX interface (Lars Marius Garshol)
* minidom DOM implementation (Paul Prescod)
* 4DOM and 4XPath from Fourthought (Uche Ogbuji, Mike Olson)
* Schema implementations: TREX (James Tauber)
* Various utility modules and functions (various people)
* Documentation and example programs (various people)
The code is being developed bazaar-style by contributors from the
Python XML Special Interest Group, so please send comments, questions,
or bug reports to <xml-sig(a)python.org>.
For more information about Python and XML, see:
http://www.python.org/topics/xml/
--
Martin v. Löwis http://www.informatik.hu-berlin.de/~loewis
I have uploaded two additional extension packages for my port of Python
2.2 to the incoming directory of the Hobbes (http://hobbes.nmsu.edu/)
OS/2 software archive, from whence they should be relocated to
/pub/os2/dev/python.
The distributed archives are:
pil-1.1.2-emx-py22.zip (Python Imaging Library, 387kB)
egenix-mx-base-2.0.3-emx-py22.zip (M-A Lemburg's mx base extensions,
660kB)
More information about the port is available at
http://www.andymac.org/python.html, along with the above archives if
you can't find them at Hobbes. Please retrieve the archives from Hobbes
where possible.
OS/2 users enjoy!
--
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: andymac(a)bullseye.apana.org.au | Snail: PO Box 370
andymac(a)pcug.org.au | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
You can get the latest Pyro version (2.3) at http://pyro.sourceforge.net
What's new:
Event server fixes (not all problems yet, but many)
Speed improvements. Documentation updates.
Name Server resolving by hostname config item.
What is Pyro?
Pyro is an acronym for PYthon Remote Objects. It is a basic Distributed
Object Technology system written entirely in Python.
It is extremely easy to implement a distributed system with Pyro, because
all network communication code is abstracted and hidden from
your application. You just get a remote Python object and invoke methods
on the object on the other machine.
Pyro offers you a Name Server, an Event Service, mobile objects, remote
exceptions, dynamic proxies, remote attribute access, automatic
reconnection, a detailed manual, and many examples to get you started
right away.
Irmen de Jong
You can get the latest Pyro version (2.3) at http://pyro.sourceforge.net
What's new:
Event server fixes (not all problems yet, but many)
Speed improvements. Documentation updates.
Name Server resolving by hostname config item.
What is Pyro?
Pyro is an acronym for PYthon Remote Objects. It is a basic Distributed
Object Technology system written entirely in Python.
It is extremely easy to implement a distributed system with Pyro, because
all network communication code is abstracted and hidden from
your application. You just get a remote Python object and invoke methods
on the object on the other machine.
Pyro offers you a Name Server, an Event Service, mobile objects, remote
exceptions, dynamic proxies, remote attribute access, automatic
reconnection, a detailed manual, and many examples to get you started
right away.
Irmen de Jong
========= WAS CANCELLED BY =======:
Path: news.sol.net!spool0-nwblwi.newsops.execpc.com!newsfeeds.sol.net!newspump.sol.net!newsfeed.cwix.com!news.maxwell.syr.edu!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: "Irmen de Jong" <usenet(a)NOSPAM-irmen.cjb.net>
Newsgroups: comp.lang.python
Subject: cmsg cancel <mailman.1009707903.17187.clpa-moderators(a)python.org>
Control: cancel <mailman.1009707903.17187.clpa-moderators(a)python.org>
Date: Mon, 31 Dec 2001 03:41:26 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.mailman.1009707903.17187.clpa-moderators(a)python.org>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009774269 27193 211.57.49.2 (31 Dec 2001 04:51:09 GMT)
X-Complaints-To: usenet(a)news2.kornet.net
NNTP-Posting-Date: Mon, 31 Dec 2001 04:51:09 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)
This message was cancelled from within Mozilla.
mkpythonproj generates full GNU-style projects, with setup,py,
unittest-style tests, pydoc-compliant modules, and additional
documentation. Individual modules can also be generated (e.g., after
a project has been started). The structure of the modules is driven
by templates.
See:
http://www.seanet.com/~hgg9140/comp/mkpythonproj-1.4/doc/index.html
Download from:
http://www.seanet.com/~hgg9140/comp/
Recent changes:
2001-12-28: v1.4
- Converted basic documentation to GNU style text files (CHANGES,
README, etc.).
2001-10-30: v1.3
- Seperated "BODY" template, so other bodies can be used.
- Provide for alternative #!commands
--
Harry George
hgg9140(a)seanet.com
mkpythonproj generates full GNU-style projects, with setup,py,
unittest-style tests, pydoc-compliant modules, and additional
documentation. Individual modules can also be generated (e.g., after
a project has been started). The structure of the modules is driven
by templates.
See:
http://www.seanet.com/~hgg9140/comp/mkpythonproj-1.4/doc/index.html
Download from:
http://www.seanet.com/~hgg9140/comp/
Recent changes:
2001-12-28: v1.4
- Converted basic documentation to GNU style text files (CHANGES,
README, etc.).
2001-10-30: v1.3
- Seperated "BODY" template, so other bodies can be used.
- Provide for alternative #!commands
--
Harry George
hgg9140(a)seanet.com
========= WAS CANCELLED BY =======:
Path: news.sol.net!spool0-nwblwi.newsops.execpc.com!newsfeeds.sol.net!newspump.sol.net!newsfeed.cwix.com!news.maxwell.syr.edu!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: Harry George <hgg9140(a)seanet.com>
Newsgroups: comp.lang.python
Subject: cmsg cancel <mailman.1009707902.17186.clpa-moderators(a)python.org>
Control: cancel <mailman.1009707902.17186.clpa-moderators(a)python.org>
Date: Mon, 31 Dec 2001 02:42:00 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.mailman.1009707902.17186.clpa-moderators(a)python.org>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009774278 27193 211.57.49.2 (31 Dec 2001 04:51:18 GMT)
X-Complaints-To: usenet(a)news2.kornet.net
NNTP-Posting-Date: Mon, 31 Dec 2001 04:51:18 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)
This message was cancelled from within Mozilla.
pyperlish is a python emulation of essential perl mechnaisms, allowing
use of perl-based idioms. particularly useful for perl-ists
considering using python (or attempting to port code to python).
Originally named "pyperl", but that name was usurped by Zope, so we
gone to pyperlish.
See:
http://www.seanet.com/~hgg9140/comp/pyperlish-1.2/doc/index.html
Download at:
http://www.seanet.com/~hgg9140/comp
Recent changes:
2001-12-28: 1.2
Converted tests to uniuttest style. Converted docstring to pydoc
style. Fixed "split" to properly detect no maxcnt.
2001-09-29: 1.1
Renamed from pyperl to pyperlish, to avoid conflict with
Zope's new pyperl.
--
Harry George
hgg9140(a)seanet.com
pyperlish is a python emulation of essential perl mechnaisms, allowing
use of perl-based idioms. particularly useful for perl-ists
considering using python (or attempting to port code to python).
Originally named "pyperl", but that name was usurped by Zope, so we
gone to pyperlish.
See:
http://www.seanet.com/~hgg9140/comp/pyperlish-1.2/doc/index.html
Download at:
http://www.seanet.com/~hgg9140/comp
Recent changes:
2001-12-28: 1.2
Converted tests to uniuttest style. Converted docstring to pydoc
style. Fixed "split" to properly detect no maxcnt.
2001-09-29: 1.1
Renamed from pyperl to pyperlish, to avoid conflict with
Zope's new pyperl.
--
Harry George
hgg9140(a)seanet.com
========= WAS CANCELLED BY =======:
Path: news.sol.net!spool1-nwblwi.newsops.execpc.com!newsfeeds.sol.net!news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: Harry George <hgg9140(a)seanet.com>
Newsgroups: comp.lang.python
Subject: cmsg cancel <mailman.1009707902.17185.clpa-moderators(a)python.org>
Control: cancel <mailman.1009707902.17185.clpa-moderators(a)python.org>
Date: Mon, 31 Dec 2001 02:34:42 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.mailman.1009707902.17185.clpa-moderators(a)python.org>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009774275 27193 211.57.49.2 (31 Dec 2001 04:51:15 GMT)
X-Complaints-To: usenet(a)news2.kornet.net
NNTP-Posting-Date: Mon, 31 Dec 2001 04:51:15 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)
This message was cancelled from within Mozilla.