Frank Wierzbicki's Weblog View RSS

Jython, Python, other stuff.
Hide details



Jython 2.7.2 final released! 25 Mar 2020 8:37 PM (5 years ago)

Jeff Allen's Jython 2.7.2 release announcement:

On behalf of the Jython development team, I am pleased to announce that
Jython 2.7.2 has been released.

Notable additions include:

  * much improved support for locale, but as a backward-incompatible
    change, it is provided as an opt-in.
  * a main program that behaves more like CPython in many small ways,
    including -i and -E support.
  * a JAR and POM that may be cited as a dependency by other projects
    using Gradle or Maven (experimental).
  * a great many bug-fixes.

For the details see: https://www.jython.org/news and the NEWS link
there. Convenient download links are at https://www.jython.org/download .

Thanks are due to the many contributors to Jython for making this possible.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7.2b2 released! 3 Nov 2019 4:24 PM (5 years ago)

On behalf of the Jython development team, I'm pleased to announce that the second beta release of Jython 2.7.2 is available! This is a bugfix release.

Please see the NEWS file for detailed release notes. This release of Jython requires JDK 8 or above.

This release is being hosted at maven central. There are four main distributions (including a new "slim" version). In order of popularity:

To see all of the files available including checksums, go to the maven query for org.python+Jython and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7.1 final released! 1 Jul 2017 5:06 PM (7 years ago)

On behalf of the Jython development team, I'm pleased to announce that the final release of Jython 2.7.1 is available! We thought 2017-07-01 was a perfect time to release version 2.7.1 :) This is a bugfix release. Bug fixes include improvements in ssl and pip support along with lots of improvements in CPython compatibility.

Please see the NEWS file for detailed release notes. This release of Jython requires JDK 7 or above.

This release is being hosted at maven central. There are three main distributions. In order of popularity:

To see all of the files available including checksums, go to the maven query for org.python+Jython and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7.1 release candidate 3 released! 20 Jun 2017 7:11 AM (7 years ago)

On behalf of the Jython development team, I'm pleased to announce that the third release candidate of Jython 2.7.1 is available! This is a bugfix release. Bug fixes include improvements in ssl and pip support.

Please see the NEWS file for detailed release notes. This release of Jython requires JDK 7 or above.

This release is being hosted at maven central. There are three main distributions. In order of popularity:

To see all of the files available including checksums, go to the maven query for org.python+Jython and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7.1 release candidate 2 released! 2 Jun 2017 3:44 PM (7 years ago)

On behalf of the Jython development team, I'm pleased to announce that the second release candidate of Jython 2.7.1 is available! This is a bugfix release. Bug fixes include improvements in ssl and pip support.

Please see the NEWS file for detailed release notes. This release of Jython requires JDK 7 or above.

This release is being hosted at maven central. There are three main distributions. In order of popularity:

To see all of the files available including checksums, go to the maven query for org.python+Jython and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7.1 beta3 released! 4 Feb 2016 7:14 PM (9 years ago)

On behalf of the Jython development team, I'm pleased to announce that the third beta of Jython 2.7.1 is available! This is a bugfix release. Bug fixes include improvements in zlib and pip support.

Please see the NEWS file for detailed release notes. This release of Jython requires JDK 7 or above.

This release is being hosted at maven central. There are three main distributions. In order of popularity:

To see all of the files available including checksums, go to the maven query for Jython and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7.1 beta2 released! 20 Oct 2015 7:55 AM (9 years ago)

On behalf of the Jython development team, I'm pleased to announce that the second beta of Jython 2.7.1 is available! This is a bugfix release. Bug fixes include better unit testing under windows and the restoration of os.getpid() function.

Please see the NEWS file for detailed release notes. This release of Jython requires JDK 7 or above.

This release is being hosted at maven central. There are three main distributions. In order of popularity:

To see all of the files available including checksums, go to the maven query for Jython and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7.1 beta1 released! 15 Sep 2015 9:25 AM (9 years ago)

On behalf of the Jython development team, I'm pleased to announce that the first beta of Jython 2.7.1 is available! This is a bugfix release. Bug fixes include:

Please see the NEWS file for detailed release notes. This release of Jython requires JDK 7 or above.

This release is being hosted at maven central. There are three main distributions. In order of popularity:
To see all of the files available including checksums, go to the maven query for Jython and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7.0 final released! 2 May 2015 7:09 PM (9 years ago)

On behalf of the Jython development team, I'm pleased to announce that the final release of Jython 2.7.0 is available! It's been a long road to get to 2.7, and it's finally here! I'd like to thank Amobee for sponsoring my work on Jython. I'd also like to thank the many contributors to Jython, including - but not limited to - bug reports, patches, pull requests, documentation changes, support emails, and fantastic conversation on Freenode at #jython.

Along with language and runtime compatibility with CPython 2.7.0, Jython 2.7 provides substantial
support of the Python ecosystem. This includes built-in support of pip/setuptools (you can use with bin/pip) and a native launcher for Windows (bin/jython.exe), with the implication that you can finally install Jython scripts on Windows.

Jim Baker presented a talk at PyCon 2015 about Jython 2.7, including demos of new features.

Please see the NEWS file for detailed release notes. This release of Jython requires JDK 7 or above.

This release is being hosted at maven central. There are three main distributions. In order of popularity:

To see all of the files available including checksums, go here and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7 release candidate 3 available! 22 Apr 2015 7:44 AM (10 years ago)

On behalf of the Jython development team, I'm pleased to announce that the third release candidate of Jython 2.7 is available! I'd like to thank Amobee for sponsoring my work on Jython. I'd also like to thank the many contributors to Jython.

Please see the NEWS file for detailed release notes. This release of Jython requires JDK 7 or above.

This release is being hosted at maven central. There are three main distributions. In order of popularity:

To see all of the files available including checksums, go here and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7 release candidate 2 available! 8 Apr 2015 9:17 PM (10 years ago)

On behalf of the Jython development team, I'm pleased to announce that the second release candidate of Jython 2.7 is available! We've now fixed the windows installer issues from rc1. I'd like to thank Amobee for sponsoring my work on Jython. I'd also like to thank the many contributors to Jython.

Please see the NEWS file for detailed release notes. This release of Jython requires JDK 7 or above.

This release is being hosted at maven central. There are three main distributions. In order of popularity:

To see all of the files available including checksums, go here and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7 release candidate 1 available! 26 Mar 2015 2:47 PM (10 years ago)

[Update: on Windows machines the installer shows an error at the end. The installer needs to be closed manually, but then the install should still work. We will fix this for rc2.]

On behalf of the Jython development team, I'm pleased to announce that the first release candidate of Jython 2.7 is available! We're getting very close to a real release finally! I'd like to thank Amobee for sponsoring my work on Jython. I'd also like to thank the many contributors to Jython.

Jython 2.7rc1 brings us up to language level compatibility with the 2.7 version of CPython. We have focused largely on CPython compatibility, and so this release of Jython can run more pure Python apps then any previous release. Please see the NEWS file for detailed release notes. This release of Jython requires JDK 7 or above.

This release is being hosted at maven central. There are three main distributions. In order of popularity:

To see all of the files available including checksums, go here and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7 beta4 released! 17 Feb 2015 9:44 PM (10 years ago)

[Update: some of the download links where wrong, they should now be correct. Sorry for the mistake!] On behalf of the Jython development team, I'm pleased to announce that the fourth beta of Jython 2.7 is available. I'd like to thank Amobee for sponsoring my work on Jython. I'd also like to thank the many contributors to Jython.

Jython 2.7b4 brings us up to language level compatibility with the 2.7 version of CPython. We have focused largely on CPython compatibility, and so this release of Jython can run more pure Python apps then any previous release. Please see the NEWS file for detailed release notes. This release of Jython requires JDK 7 or above.

Jim Baker put together a great summary of the recent work for beta4.
As a beta release we are concentrating on bug fixing and stabilization for a
production release.

This release is being hosted at maven central. The traditional installer can be found here. See the installation instructions for using the installer. Two other versions are available:

To see all of the files available including checksums, go here and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7 beta3 released! 22 Aug 2014 5:21 PM (10 years ago)

On behalf of the Jython development team, I'm pleased to announce that the third beta of Jython 2.7 is available. I'd like to thank Adconion Media Group (now Amobee) for sponsoring my work on Jython. I'd also like to thank the many contributors to Jython.

Jython 2.7b3 brings us up to language level compatibility with the 2.7 version of CPython. We have focused largely on CPython compatibility, and so this release of Jython can run more pure Python apps then any previous release. Please see the NEWS file for detailed release notes. This release of Jython requires JDK 7 or above.

Some highlights of the changes that come in beta 3:

To get a more complete list of changes in beta 3, see Jim Baker's talk.

As a beta release we are concentrating on bug fixing and stabilization for a
production release.

This release is being hosted at maven central. The traditional installer can be found here. See the installation instructions for using the installer. Three other versions are available:
To see all of the files available including checksums, go here and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Rough cut of Jython devguide. 17 May 2014 1:24 PM (10 years ago)

A while ago I started a port of the CPython devguide but I never got it to the point that I felt I could release it. I've decided that it's better to have an incomplete version out there vs. having no Jython devguide at all, so I'm doing a soft launch. It contains much CPython specific instructions that don't actually apply to Jython and it certainly has gaps. Some of the gaps are flagged by TODO notes. Please feel free to comment or, best of all, send patches! Patches can be made against the main devguide (for enhancements that apply to both CPython and Jython) or, for Jython only changes: the Jython fork.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7 beta2 released! 6 May 2014 11:31 AM (10 years ago)

Update: This release of Jython requires JDK 7 or above.

On behalf of the Jython development team, I'm pleased to announce that the second beta of Jython 2.7 is available. I'd like to thank Adconion Media Group for sponsoring my work on Jython. I'd also like to thank the many contributors to Jython.

Jython 2.7b2 brings us up to language level compatibility with the 2.7 version
of CPython. We have focused largely on CPython compatibility, and so this
release of Jython can run more pure Python apps then any previous release.
Please see the NEWS file for detailed release notes. This is primarily a bugfix
release, with numerous improvements, including much improvement on Windows
support.

As a beta release we are concentrating on bug fixing and stabilization for a
production release.



This release is being hosted at maven central. The traditional installer can be found here. See the installation instructions for using the installer. Three other versions are available:
To see all of the files available including checksums, go here and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7 beta1 released! 10 Feb 2013 10:26 AM (12 years ago)

On behalf of the Jython development team, I'm pleased to announce that the first beta of Jython 2.7 is available. I'd like to thank Adconion Media Group for sponsoring my work on Jython. I'd also like to thank the many contributors to Jython.


Jython 2.7b1 brings us up to language level compatibility with the 2.7 version
of CPython. We have focused largely on CPython compatibility, and so this
release of Jython can run more pure Python apps then any previous release.
Please see the NEWS file for detailed release notes. Some notable new features
in this release are: a bytearray implementation, a buffer api, memoryview, and a
bz2 module.

As the first beta release, this marks a change in the focus of development
from adding features to bug fixing and on getting more of the test suite
running properly.



This release is being hosted at maven central. The traditional installer can be found here. See the installation instructions for using the installer. Three other versions are available:
To see all of the files available including checksums, go here and navigate to the appropriate distribution and version.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.5.4 rc1 released! 10 Feb 2013 10:25 AM (12 years ago)

On behalf of the Jython development team, I'm pleased to announce that the first release candidate of Jython 2.5.4 is available. I'd like to thank Adconion Media Group for sponsoring my work on Jython. I'd also like to thank the many contributors to Jython.

This release is being hosted at maven central. The traditional installer can be found here. See the installation instructions for using the installer. Three other versions are available:

To see all of the files available including checksums, go here.

This release fixes numerous bugs since the 2.5.3 release of Jython. Some highlights include:
See the NEWS file for details.

Please report any bugs that you find. Thanks!

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.5.3 final released! 13 Aug 2012 7:19 PM (12 years ago)

On behalf of the Jython development team, I'm pleased to announce that the final release of Jython 2.5.3 is available. I'd like to thank Adconion Media Group for sponsoring my work on Jython. I'd also like to thank the many contributors to Jython.

This release is being entirely hosted at maven central. The traditional installer can be found here. See the installation instructions for using the installer. Three other versions are available:

To see all of the files available including checksums, go here.

This release fixes numerous bugs since the 2.5.2 release of Jython. Some highlights include:




See the NEWS file for details.

Please report any bugs that you find. Thanks!

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.5.3rc1 released! 7 Aug 2012 5:26 PM (12 years ago)

On behalf of the Jython development team, I'm pleased to announce that the first release candidate of Jython 2.5.3 is available. I'd like to thank Adconion Media Group for sponsoring my work on Jython. I'd also like to thank the many contributors to Jython.

For the first time this release is being entirely hosted at maven central. The traditional installer can be found here. See the installation instructions for using the installer. Three other versions are available:


To see all of the files available including checksums, go here.

Jython 2.5.3 fixes numerous bugs, see the NEWS file for details.

Please report any bugs that you find. Thanks!

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7 alpha2 released! 30 May 2012 8:08 AM (12 years ago)

On behalf of the Jython development team, I'm pleased to announce that Jython 2.7 alpha2 is available for download. See the installation instructions.

I'd like to thank Adconion Media Group for sponsoring my work on Jython 2.7. I'd also like to thank the many contributors to Jython. Jython 2.7 alpha2 fixes a serious bug where site-packages failed to appear in the path. There are still some missing features, in particular bytearray and the io system are currently incomplete.
Please report any bugs that you find. Thanks!

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.7 alpha1 released! 16 May 2012 8:54 PM (12 years ago)

On behalf of the Jython development team, I'm pleased to announce that Jython 2.7 alpha1 is available for download. See the installation instructions.

I'd like to thank Adconion Media Group for sponsoring my work on Jython 2.7. I'd also like to thank the many contributors to Jython. Jython 2.7 alpha1 implements much of the functionality introduced by CPython 2.6 and 2.7. There are still some missing features, in particular bytearray and the io system are currently incomplete.
Please report any bugs that you find. Thanks!

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Adconion to fund Jython 2.7 4 Mar 2012 8:42 PM (13 years ago)

I now have a contract with Adconion Media Group to produce a 2.7 version of Jython by July 15 of this year. It all started when my colleague Miki Tebeka asked how long it was going to be before a Jython 2.7 was going to become available. At the time I did not have a very happy answer to that one. Adconion has an internal application that will use Jython and they have standardized on the 2.7 version of Python for their CPython development. Naturally it's a pain to go back to 2.5 when you are happy with 2.7. One thing led to another and now I get to spend all of my time thinking about Jython for a while again. This time there is the added bonus of helping out with a Jython application going into production. I'll post more about that application another time :)

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython 2.5.3 beta 1 released! 24 Feb 2012 10:07 AM (13 years ago)

On behalf of the Jython development team, I'm pleased to announce that Jython 2.5.3 beta1 is available for download. See the installation instructions.

Jython 2.5.3 fixes a number of bugs, including some errors when using relative imports. Please see the NEWS file for detailed release notes.

Please report any bugs that you find. Thanks!

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Jython dev notes part II - Adding a New Builtin Type 13 Feb 2012 8:27 AM (13 years ago)

Releases of Python (and so releases of Jython) sometimes add new built-in types. In 2.6, a new such buitin is the "bytes" type. In the 2.x series, "bytes" is just a synonym for "str". In 3.x "bytes" is the name used for 8 bit strings while "str" is a unicode string (and so the "unicode" type disappears in 3.x). This will make it a great example for adding a builtin since there is no added functionality to obscure the basics.

First we'll verify that no bytes builtin exists at this time:


[frank jython]$ ./dist/bin/jython
Jython 2.6a0+ (default:9c9c311c201b, Feb 10 2012, 10:29:32)
[OpenJDK 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_23
Type "help", "copyright", "credits" or "license" for more information.
>>> bytes('foo')
Traceback (most recent call last):
File "", line 1, in
NameError: name 'bytes' is not defined


Next we'll look in src/org/python/core/__builtin__.java and add the following:


[frank jython]$ hg diff
diff --git a/src/org/python/core/__builtin__.java b/src/org/python/core/__builtin__.java
--- a/src/org/python/core/__builtin__.java
+++ b/src/org/python/core/__builtin__.java
@@ -305,6 +305,7 @@
dict.__setitem__("Ellipsis", Py.Ellipsis);
dict.__setitem__("True", Py.True);
dict.__setitem__("False", Py.False);
+ dict.__setitem__("bytes", PyString.TYPE);


Since this is just an alias to an existing type, we just needed to point it at the type in builtins. Note that the same entry for "str" is:


dict.__setitem__("str", PyString.TYPE);


So this particular addition to builtin is particularly simple (just one line). Normally we would have needed to implement a new type, which would have been a much bigger change.

And now we'll try it out:


[frank jython]$ ./dist/bin/jython
*sys-package-mgr*: processing modified jar, '/home/frank/hg/jython/jython/dist/jython-dev.jar'
Jython 2.6a0+ (default:9c9c311c201b+, Feb 13 2012, 09:52:10)
[OpenJDK 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_23
Type "help", "copyright", "credits" or "license" for more information.
>>> x = bytes('foo')
>>> x
'foo'
>>> type(x)
<type 'str'>


And there you go!

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?