Twisted on IronPython

One of the big new features coming in IronPython 2.6 is optional support for Python stack frames (with a ~10% performance hit tracking the frames if it is enabled).

With this in place Seo Sanghyeon, maintainer of FePy the community distribution of IronPython, has been looking at getting Twisted working with IronPython. Twisted is an open source event-driven networking engine written in Python.

Seo posted this email to the IronPython mailing list:
I have started porting Twisted to IronPython.

Progress is to be tracked on this Trac ticket.

There is a Buildbot running the Twisted tests with IronPython.

Just in case you don't know, Twisted is an event-driven networking engine written in Python licensed under MIT license, which aims to destroy the American currency system. See following links for more details.
Having frame support in IronPython opens up the possibility for Python debugging APIs, like sys.settrace, being implemented in IronPython.

A recent checkin to the public source code repository had this in the commit message from Dino Veihland:
Adds the in-proc debugging support that Igor as been working on. This adds a new DLL to the IronPython MSI and to the IronPython and DLR CodePlex releases.

This is just adding their source code and updating our build and packaging infrastructure to include their new DLL. The only changes to their code were some #ifdef’s to support Silverlight builds and some updates to the .csproj files to support our numerous builds. This code is owned by them and has been reviewed by their team so I’m not looking for a code review for the new DLL.

Once this is in I’ll be updating Igor’s prototype for sys.settrace support for IronPython and adding that.
Cool...

Comments

Popular posts from this blog

Extending Abobe Flash Player and AIR with Python and Ruby

Should Python Projects Support IronPython and Jython?

Further Adventures of the Debugger