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!
14

View comments

  1. Thanks Frank! Works really well so far.

    ReplyDelete
  2. MRodent6:03 AM

    Hi
    1) with code unchanged (previously 2.5.2) I got:
    (at logging.__init__.py, l. 467)
    s = self._fmt % record.__dict__
    TypeError: int argument required
    - any idea what this is about?

    2) import multiprocessing
    --> "no module named multiprocessing"... was really hoping this (Python 2.6) would be in... as would have allowed interprocess Jython and CPython (latter for speed, version 3, etc.)

    ReplyDelete
    Replies
    1. MRodent: that's an odd looking error - could you post details on http://bugs.jython.org?

      Delete
  3. The links on the jython site news page appear to have '5' on the end of them, and send you to a download link for jython 2.5.

    ReplyDelete
    Replies
    1. Chris2048: oops - that does look broken, I'll see if I can get it fixed, thanks!

      Delete
  4. MRodent: On Jython you should be using "threading" wherever you would have used "multiprocessing" -- I had a conversation a number of years back with Jesse Noller (the original author of multiprocessing) and he sees no point in putting it in Jython. There are lots of ways of doing interprocess communication between different implementations of Python - Perhaps look at the subprocess module?

    ReplyDelete
  5. Hi Frank. Thanks for all the work you've done. Much much appreciated. If you are ever down Melbourne, Australia way one day, let me know. All the beer you can drink (I hope I dont regret this offer :-) ).

    Anyways, I have have been using your jar runner class ala this.

    http://stackoverflow.com/questions/1252965/distributing-my-python-scripts-as-jars-with-jython

    I have also installed xlrd ( http://pypi.python.org/pypi/xlrd/) and zipped it into the distributable jar I wanted.

    However, when I run my script, I get
    """
    Exception in thread "MainThread" Traceback (most recent call last):
    File "__pyclasspath__/__run__.py", line 5, in
    File "__pyclasspath__/dataloader.py", line 5, in
    ImportError: No module named xlrd
    """

    This seems to go away when I move the xlrd package in the jar from Lib/site-packages to Lib.

    ie. works the way I expect it to now after the move.

    Am I doing something wrong here?
    Is this related to this defect?
    http://bugs.jython.org/issue1892


    Many thanks again for your work.
    - Chai

    ReplyDelete
  6. Oh, and I am using jython2.7a2 and java 1.6.0_20.

    ReplyDelete
  7. Awesome work! A couple questions:
    When's this going to move out of alpha?

    When's this going to be maven-ized?

    Anyways this work is super-exciting and I'm glad you've (and Adconion) been able to pick it up.

    ReplyDelete
  8. Chai: If I'm ever in Australia I'll look you up - and I don't drink *that* much beer ;)

    In 2.7a2 that bug should be fixed - but just in case have you tried on the latest trunk? I should be putting out a 2.7a3 (or perhaps a beta if I can resolve a couple of blockers) soon.

    kbrowder: I think 2.7 should be out of alpha in a few weeks - I'm no longer on Jython 100% of the time so things will slow a little. Mavenizing Jython (2.5.3 and 2.7) are near the top of my todo list - I should have that done for 2.5.3 before the next 2.7 comes out (then 2.7 will be there too)

    ReplyDelete
  9. Antonio2:26 AM

    Nice work thanks!

    How can I help? Is there any bug tracking or how can I post problems/bug as long as I found them?

    Thanks again .. although this means I might have to touch java.

    ReplyDelete
  10. Antonio: thanks! The bug tracker is here: http://bugs.jython.org -- posting bugs should not force you to look at any Java :) -- if you do want to get involved, our attempt at a devguide is here: http://wiki.python.org/jython/JythonDeveloperGuide/

    ReplyDelete
  11. Frank;
    stumbled across this blog entry searching for Jython 2.7, see this is still "alpha" and the post is a bit older. Is there any update on the current state of Jy2.7?

    TIA and all the best, thanks for the great work in 2.5.3!
    K

    ReplyDelete
  12. Kristian Rink: I haven't had as much time to push 2.7 forward lately - we are closing in on a beta release but it's hard to give a solid estimate on exactly when it will be out. I hoping to get that done within a few weeks.

    ReplyDelete
Jython 2.7.2 final released!
Jython 2.7.2 final released!
Jython 2.7.2b2 released!
Jython 2.7.2b2 released!
1
Jython 2.7.1 final released!
Jython 2.7.1 final released!
Jython 2.7.1 release candidate 3 released!
Jython 2.7.1 release candidate 3 released!
Jython 2.7.1 release candidate 2 released!
Jython 2.7.1 release candidate 2 released!
Jython 2.7.1 beta3 released!
Jython 2.7.1 beta3 released!
Jython 2.7.1 beta2 released!
Jython 2.7.1 beta2 released!
Jython 2.7.1 beta1 released!
Jython 2.7.1 beta1 released!
Jython 2.7.0 final released!
Jython 2.7.0 final released!
Jython 2.7 release candidate 3 available!
Jython 2.7 release candidate 3 available!
Jython 2.7 release candidate 2 available!
Jython 2.7 release candidate 2 available!
Jython 2.7 release candidate 1 available!
Jython 2.7 release candidate 1 available!
Jython 2.7 beta4 released!
Jython 2.7 beta4 released!
Jython 2.7 beta3 released!
Jython 2.7 beta3 released!
Rough cut of Jython devguide.
Rough cut of Jython devguide.
Jython 2.7 beta2 released!
Jython 2.7 beta2 released!
Jython 2.7 beta1 released!
Jython 2.7 beta1 released!
6
Jython 2.5.4 rc1 released!
Jython 2.5.4 rc1 released!
Jython 2.5.3 final released!
Jython 2.5.3 final released!
12
Jython 2.5.3rc1 released!
Jython 2.5.3rc1 released!
3
Jython 2.7 alpha2 released!
Jython 2.7 alpha2 released!
14
Jython 2.7 alpha1 released!
Jython 2.7 alpha1 released!
19
Adconion to fund Jython 2.7
Adconion to fund Jython 2.7
13
Jython 2.5.3 beta 1 released!
Jython 2.5.3 beta 1 released!
Jython dev notes part II - Adding a New Builtin Type
Jython dev notes part II - Adding a New Builtin Type
Jython dev notes part I: The Jython Exposer
Jython dev notes part I: The Jython Exposer
1
Contributing to Jython
Contributing to Jython
4
This Weblog is Now Licensed Under a Creative Commons License
This Weblog is Now Licensed Under a Creative Commons License
1
Jython 2.5.2 beta 2 is released!
Jython 2.5.2 beta 2 is released!
3
Leaving Sauce Labs
Leaving Sauce Labs
5
My New Job at Sauce Labs
My New Job at Sauce Labs
20
Leaving Sun
Leaving Sun
16
Jython 2.5.1 Final is out!
Jython 2.5.1 Final is out!
4
Jython 2.5.1 Release Candidate 3 is out
Jython 2.5.1 Release Candidate 3 is out
PyCon 2010 Call For Talks Ends Soon!
PyCon 2010 Call For Talks Ends Soon!
Jython 2.5.1 Release Candidate 2 is out!
Jython 2.5.1 Release Candidate 2 is out!
Jython 2.5.1 Release Candidate 1 is out!
Jython 2.5.1 Release Candidate 1 is out!
2
InvokeDynamic and Jython part I
InvokeDynamic and Jython part I
Jython 2.5.0 Final is out!
Jython 2.5.0 Final is out!
17
Jython 2.5.0 Release Candidate 4 is out!
Jython 2.5.0 Release Candidate 4 is out!
2
Jython 2.5.0 Release Candidate 3 is out!
Jython 2.5.0 Release Candidate 3 is out!
2
Jython 2.5.0 Release Candidate 2 is out!
Jython 2.5.0 Release Candidate 2 is out!
2
Jython 2.5 Beta 4 Released
Jython 2.5 Beta 4 Released
7
PyCon 2009
PyCon 2009
4
Jython 2.5 Beta 3 Released
Jython 2.5 Beta 3 Released
Jython 2.5 beta 2 Released
Jython 2.5 beta 2 Released
Hoffstadter's Law and Jython 2.5
Hoffstadter's Law and Jython 2.5
3
Progress with Mercurial on Jython: part 2
Progress with Mercurial on Jython: part 2
3
Progress with Mercurial on Jython
Progress with Mercurial on Jython
3
Jython 2.5 Beta1 Released!
Jython 2.5 Beta1 Released!
8
Tor Norbye Finds Bug in Jython Lib With NetBeans
Tor Norbye Finds Bug in Jython Lib With NetBeans
2
Jython 2.5 Beta0 Released!
Jython 2.5 Beta0 Released!
11
Updated Jython Roadmap
Updated Jython Roadmap
5
Jython 2.5 Alpha3 Released!
Jython 2.5 Alpha3 Released!
6
Djangocon day 2
Djangocon day 2
2
Djangocon day 1
Djangocon day 1
1
Jython 2.5 Alpha 2 Released!
Jython 2.5 Alpha 2 Released!
6
Jython's Trunk Now Targets 2.5
Jython's Trunk Now Targets 2.5
2
Code Review with Rietveld
Code Review with Rietveld
5
Open Sourcing Science
Open Sourcing Science
2
Wow -- bug reports already!
Wow -- bug reports already!
5
Jython 2.5 Alpha Released!
Jython 2.5 Alpha Released!
11
EuroPython 2008
EuroPython 2008
Welcome Leonardo Soto, Jython's Newest Committer
Welcome Leonardo Soto, Jython's Newest Committer
1
EuroPython - Anyone have some cool demos?
EuroPython - Anyone have some cool demos?
Jython 2.5 Approaches an Alpha Release
Jython 2.5 Approaches an Alpha Release
3
Jython and Django Progress Part II: GlassFish and modjy
Jython and Django Progress Part II: GlassFish and modjy
5
Start of an _ast Module in Jython's Trunk
Start of an _ast Module in Jython's Trunk
1
Jython and Django Progress Part I: Dev Server
Jython and Django Progress Part I: Dev Server
3
PyCon 2008 and Jython
PyCon 2008 and Jython
3
Jython and Google Summer of Code 2008
Jython and Google Summer of Code 2008
2
So Long Gary Gygax
So Long Gary Gygax
Jython's Future Looking Sunny
Jython's Future Looking Sunny
18
setuptools now runs on Jython trunk
setuptools now runs on Jython trunk
7
PyCon 2008 in Chicago
PyCon 2008 in Chicago
1
A Proof of Concept ASM Compiler for Jython
A Proof of Concept ASM Compiler for Jython
2
A First Cut at an Antlr Based Parser for Jython Finished
A First Cut at an Antlr Based Parser for Jython Finished
1
Django Beginning to work on Jython
Django Beginning to work on Jython
4
Jython 2.2.1 released
Jython 2.2.1 released
Jython 2.2.1rc2 Released
Jython 2.2.1rc2 Released
One Laptop per Child: Give one, get one
One Laptop per Child: Give one, get one
Jython 2.2.1rc1 released
Jython 2.2.1rc1 released
Work towards Django on Jython
Work towards Django on Jython
Jython 2.2 released!! Woohoo!!
Jython 2.2 released!! Woohoo!!
13
Speaking on Jython in Chapil Hill, NC next Tuesday
Speaking on Jython in Chapil Hill, NC next Tuesday
1
Jython 2.2 rc3 is out!
Jython 2.2 rc3 is out!
SQLAlchemy, MySQL, and Jython
SQLAlchemy, MySQL, and Jython
4
Jython 2.2 RC2 is out!
Jython 2.2 RC2 is out!
1
Jython 2.2 RC1 is out!
Jython 2.2 RC1 is out!
JVM Languages: The Future (via Headius)
JVM Languages: The Future (via Headius)
3
NailGun correction
NailGun correction
Playing with nailgun
Playing with nailgun
1
Jython beta2 is out!
Jython beta2 is out!
2
Jython 2.2 beta1 Released!
Jython 2.2 beta1 Released!
3
Jython Roadmap
Jython Roadmap
My Talk Was Accepted at PyCon!
My Talk Was Accepted at PyCon!
3
JRuby folks reach out to Jython
JRuby folks reach out to Jython
2
I now work for Red Hat
I now work for Red Hat
3
New Website is Live
New Website is Live
4
Migration to Subversion
Migration to Subversion
About Me
About Me
Subscribe
Subscribe
Links
Blog Archive
Blog Roll
Blog Roll
Loading
Dynamic Views theme. Powered by Blogger. Report Abuse.