Jython Journeys

Notes about my work with jython and python

Jython runs on Google AppEngine!

without comments

It is now possible to run Jython on Google AppEngine!

Read the rest of this entry »

Written by alan.kennedy

April 8th, 2009 at 1:05 pm

Announce: jyson, a pure java JSON codec for jython.

without comments

I’m delighted to announce the publication of jyson, a fast codec for JavaScript Object Notation (JSON), a lightweight and easy-to-use data interchange format.

Read the rest of this entry »

Written by alan.kennedy

March 17th, 2009 at 10:19 pm

Posted in jython,open source

Tagged with ,

New xhaus.com open source software portal.

without comments

I’m delighted to announce the opening of the xhaus.com open source software portal.

On the portal you will find source code, documentation, issue trackers, etc, for open source software that we have published.

Read the rest of this entry »

Written by alan.kennedy

March 15th, 2009 at 6:05 pm

Posted in jruby,jython,open source

Tagged with

Modjy now fully integrated into jython.

without comments

I’m delighted to announce that modjy, the java servlet to python WSGI gateway that I originally wrote to track the WSGI spec, has now finally been fully integrated into the jython source base.

Read the rest of this entry »

Written by alan.kennedy

March 7th, 2009 at 3:40 pm

Posted in jython

Tagged with ,

Socket shutdown versus socket close on cpython, jython and java.

without comments

So, here we are again with translating cpython socket semantics to java socket semantics, in order to correctly implement the cpython socket API on jython.

The latest issue is socket shutdown.
Read the rest of this entry »

Written by alan.kennedy

January 29th, 2009 at 6:16 pm

Posted in jython

Tagged with , ,

Modjy to be distributed with jython.

without comments

I’m delighted to announce that, modjy, our jython WSGI gateway for Java Servlets, was checked into the jython source repository today, and will be distributed with jython from today forth.

Read the rest of this entry »

Written by alan.kennedy

October 31st, 2008 at 5:00 pm

Posted in jython

Tagged with ,

Twisted and Zope: high performance asynchronous network servers in jython.

without comments

I’m tremendously excited this week; it looks like the work I did on supporting asynchronous sockets and select in jython has paid off.

Read the rest of this entry »

Written by alan.kennedy

September 15th, 2008 at 7:10 pm

Posted in jython

Tagged with , ,

Installing an all-trusting security provider on java and jython.

without comments

Back in 2007, I updated the jython socket module to support client-side ssl sockets. This post will describe how to configure jython so that it behaves like cpython, in relation to acceptance of SSL certificates.

Read the rest of this entry »

Written by alan.kennedy

August 29th, 2008 at 4:38 pm

Posted in jython

Tagged with ,

Timeout sockets for jython

without comments

Back in 2005, I modified the jython socket module to support timeouts. Brian Zimmer checked in that patch, since I did not have jython SVN commit rights at that time.

I wrote a documentation page about the new timeout support, and placed it on xhaus.com. Due to a rearrangement of the xhaus.com website, I am moving that page to this blog.

It should be noted that the timeout functionality has been superceded by the further work that I did to make the socket module support asychronous I/O. So you should refer to the jython socket module documentation to see how to use timeouts. This page appears here solely for historical purposes.

Read the rest of this entry »

Written by alan.kennedy

June 3rd, 2005 at 10:00 am

Posted in jython

Tagged with ,

Asynchronous networking for jython: Overview

without comments

Over the Christmas holidays in 2003, I wrote a design for how Asynchronous Socket I/O might be implemented in jython, using java.nio. I wrote up some notes in HTML, and placed them on a group of pages on xhaus.com. These notes were the basis of the design which I later used to implement asynchronous I/O for jython sockets, which is now a part of the jython distribution.

Although these notes are now out-of-date, having been surpassed by the actual implementation itself, I am publishing them here for historical purposes. The notes are broken down into four main areas.

  1. Overview
  2. Socket module
  3. Select module
  4. Asyncore module

For documentation on how to use the jython’s asynchronous socket I/O, see the documentation for the socket, select, asyncore, and asynchat modules.

Read the rest of this entry »

Written by alan.kennedy

December 26th, 2003 at 9:30 pm

Posted in jython

Tagged with , ,