Phil Ringnalda points to Mark Paschal’s TBPY, a TrackBack server as a CGI written in Python. (Thanks Phil!)
You could do some evil stuff with TBPY + tblib. EVIL!
I’ve also added a highlighted version of the source (using GNU Source-highlighter). Here they are:
Are you sick of hearing about tblib yet? Sorry. I’ve been posting the more munade details in my projects channel.