Hackfest Helps Advance Python Support in Gnome

Ryan Paul at Ars Technica has an excellent write up of a hackfest sponsored by OLPC to start implementing a plan to ease the future maintenance of the Python bindings for GTK+. The OLPC project makes considerable use of both Python and GTK+.

The plan is to incrementally phase in new bindings that take advantage of GObject introspection alongside the hand rolled bindings. The new implementation, PyGI, is off to a good start and will eventually replace PyGTK. I believe it depends on Python 3.0, so adoption of the latest version of the language would also be key.

As Paul clearly explains, GObject introspection eases the work required to build and maintain bindings by producing XML interface descriptions based on specially formatted comments in the GTK+ sources, written in C. This XML can then be used to generate the mapping between GTK+ and the idioms and models of the target language. Vala, which I’ve written about before, already makes use of GObject introspection, as do two sets of JavaScript bindings. One of those, Seed, I’ve also mentioned on the blog previously.

I am glad to see Paul emphasizing how GObject introspection will reduce the cost of bindings for high level languages and strongly but indirectly encourage GTK+ hacking by developers of all stripes, at all levels of skill and experience.

TCLP 2010-03-03 Chris Miller on PyCon 2010

This is a feature cast, an episode of The Command Line Podcast.

No listener feedback this week.

Due to the length of the interview, there is also no new hacker word of the week this week.

The feature this week is an interview with my good friend and fellow podcaster, Chris Miller. Chris has provided me with conference reports twice before, for Google I/O in 2008 and SCALE 7x in 2009. This time he joins me to report on his experience at PyCon 2010. In the course of the discussion, we mention his employer, The Linux Outlaws, Watts Humphrey’s Personal Software Process, David Beazley’s presentation on the Python GIL, Mark Shuttleworth, and Catherine Devlin’s presentation on cmd2.

If you want to hear more conversation between Chris and myself on less technical but still crunchy subjects, check out episode 24 of The Secret Lair.

[display_podcast]

Grab the detailed show notes with time offsets and additional links either as PDF or OPML. You can also grab the flac encoded audio from the Internet Archive.

Creative Commons License

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.