The Artima Developer Community
Sponsored Link

Java Buzz Forum
Jython 2.5.0 Released

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Weiqi Gao

Posts: 1808
Nickname: weiqigao
Registered: Jun, 2003

Weiqi Gao is a Java programmer.
Jython 2.5.0 Released Posted: Jun 16, 2009 6:10 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Weiqi Gao.
Original Post: Jython 2.5.0 Released
Feed Title: Weiqi Gao's Weblog
Feed URL: http://www.weiqigao.com/blog/rss.xml
Feed Description: Sharing My Experience...
Latest Java Buzz Posts
Latest Java Buzz Posts by Weiqi Gao
Latest Posts From Weiqi Gao's Weblog

Advertisement

Frank Wierzbicki: On behalf of the Jython development team, I'm pleased to announce that Jython 2.5.0 final is available for download. See the installation instructions.

Jython 2.5.0 brings us up to language level compatibility with the 2.5 version of CPython. This release has had a strong focus 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.

Congratulations to the Jython team. And good luck with 2.6 and 3.0 and everything else.

You can try out some of the Python 2.5 features:

[weiqi@gao]$ jython
Jython 2.5.0 (Release_2_5_0:6476, Jun 16 2009, 13:33:26) 
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_14
Type "help", "copyright", "credits" or "license" for more information.
>>> import functools
>>> def add(n, a): return n + a
... 
>>> add3 = functools.partial(add, a=3)
>>> add3(10)
13
>>> 

There were some (JLine related) issues of using the jython shell script under Cygwin in 2.5 RC2. The issue has been addressed in the final release.

If you are using Cygwin, like me, you can do a full (select "All") installation and copy the jython2.5.0/src/shaell/jython shell script to the jython2.5.0/bin directory; add the jython2.5.0/bin to your PATH; and invoke it with the -i command line option for interactive sessions. If your use of Jython is mostly interactive, you can use

export JYTHON_OPTS='-i'

to set up an environment variable so that you don't have to type the -i command line option on every invocation of Jython.

Read: Jython 2.5.0 Released

Topic: China's new online porn filters could put each PC at increased hacking risk Previous Topic   Next Topic Topic: Pac-Man in JavaFX

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use