See presentation at http://www.infoether.com/~rich/pycon2003.pdf