From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search

Jython, successor of JPython, is an implementation of the Python programming language written in Java.



Jython programs can seamlessly import and use any Java class. Except for some standard modules, Jython programs use Java classes instead of Python modules. Jython includes almost all of the modules in the standard Python programming language distribution, lacking only some of the modules implemented originally in C. For example, a user interface in Jython would be written with Swing, AWT or SWT. Jython compiles to Java bytecode (intermediate language) either on demand or statically.


Jim Hugunin created Jython in late 1997, initially to be able to replace C by Java for performance-intensive code accessed by Python programs, and developed it until 1999[1]. In February 1999, Barry Warsaw took over as the primary developer. In October 2000, Jython moved to SourceForge. For a long time, Samuele Pedroni did most of the work to maintain and develop Jython. At the end of 2004, Pedroni stepped down as the primary developer to concentrate his effort on PyPy, but he is still considered the authority on Jython internals. In January 2005, Brian Zimmer received a grant from the Python Software Foundation to develop Jython. In December 2005, Frank Wierzbicki succeeded Zimmer as the primary developer. During 2005, development was slow due to lack of knowledgeable developers.

On March 3, 2008, it was announced that Sun Microsystems hired Ted Leung and Frank Wierzbicki to work on Jython and Python, similar to Sun's hiring of two JRuby developers.[2][3]. Development progressed steadily[4][5][6][7], and Jython 2.5.0 was released on June 16, 2009[8].

Status and roadmap

The current release is Jython 2.5.1, available since September 26, 2009.[9] It is a bugfix release for version 2.5.0. Jython 2.5.0 included improvements to Java integration and implements the same set of language features as CPython 2.5[8] With 2.5.0 Jython is able to run popular Python frameworks such as Django, Pylons, or SQLAlchemy[10].

While Jython technically implements the Python language specification (hence it "is python") the implementation has some differences and incompatibilities with CPython (the reference distribution)[11][12]

License terms

From version 2.2 on, Jython (including the standard library) is released under the Python Software Foundation License (v2). Older versions are covered by the Jython 2.0, 2.1 license and the JPython 1.1.x Software License.[13]

The first two are permissive free software licenses. The third also appears to be but this is unclear because neither the Free Software Foundation nor the Open Source Initiative have reviewed and commented on it.

The command line interpreter is available under the Apache Software License.


See also


  1. Hugunin, Jim (March 2002). "Story of Jython". http://hugunin.net/story_of_jython.html. Retrieved 2009-06-05. 
  2. Leung (2008-03-03). "The Sun is going to shine on Python". http://www.sauria.com/blog/2008/03/03/the-sun-is-going-to-shine-on-python. Retrieved 2008-03-03. 
  3. Nutter, Charles (2008-01-03). "Jython's Back, Baby!". http://headius.blogspot.com/2008/01/jythons-back-baby.html. Retrieved 2008-02-09. 
  4. Baker, Jim (2008-01-03). "Django on Jython: Minding the Gap". http://zyasoft.com/pythoneering/2008/01/django-on-jython-minding-gap.html. Retrieved 2008-02-17. 
  5. Baker, Jim (2008-06-24). "Flipping the 2.5 Bit for Jython". http://zyasoft.com/pythoneering/2008/06/flipping-25-bit-for-jython.html. Retrieved 2008-07-12. 
  6. Wierzbicki, Frank (2008-07-15). "Jython 2.5 Alpha Released!". http://fwierzbicki.blogspot.com/2008/07/jython-25-alpha-released.html. Retrieved 2008-07-16. 
  7. Baker, Jim (2008-06-24). "Flipping the 2.5 Bit for Jython". http://zyasoft.com/pythoneering/2008/06/flipping-25-bit-for-jython.html. Retrieved 2008-07-12. 
  8. 8.0 8.1 Wierzbicki, Franck (2009-06-16). "Jython 2.5.0 Final is out!". http://fwierzbicki.blogspot.com/2009/06/jython-250-final-is-out.html. Retrieved 2009-07-02. 
  9. Cite error: Invalid <ref> tag; no text was provided for refs named 2.5.1
  10. "Jython 2.5 - Why you should upgrade". March 2002. http://journal.thobe.org/2009/06/jython-25-why-you-should-upgrade.html. Retrieved 2009-06-26. 
  11. "JythonFaq". Jython's project. http://wiki.python.org/jython/JythonFaq/GeneralInfo#IsJythonthesamelanguageasPython.3F. Retrieved 2009-07-05. 
  12. "Differences between CPython and Jython". Jython's project. http://jython.sourceforge.net/archive/21/docs/differences.html. Retrieved 2009-07-05. 
  13. "The Jython License". Jython's project. http://www.jython.org/Project/license.html. Retrieved 2008-02-09. 

External links

Template:Python (programming language)

Personal tools

Served in 0.430 secs.