public marks

PUBLIC MARKS from bcpbcp with tags library & python

February 2006

httpy -- a sane and robust HTTP library for Python

by 1 other (via)
This is my contribution to the wild and woolly world of Python web programming. For a short intro, check out the screencast (Flash; ~45 sec; ~2 MB). After that, the manual should answer most of your questions. If not, check the source, or the Google Group.

October 2005

Continuations And Stackless Python

In this paper, an implementation of "Stackless Python" (a Python which does not keep state on the C stack) is presented. Surprisingly, the necessary changes affect just a small number of C modules, and a major rewrite of the C library can be avoided. The key idea in this approach is a paradigm change for the Python code interpreter that is not easy to understand in the first place. Recursive interpreter calls are turned into tail recursion, which allows deferring evaluation by pushing frames to the frame stack, without the C stack involved.