We don't really know what it's written in anymore, since the new version is closed source, but given that they had to rewrite it because of how slow it was, it's unlikely they chose Python again.
Trac is written in Python, one of the slowest languages that there is. Posting a link to a Trac installation on HN is practically an act of terrorism; the server it's hosted on might explode and expose you to civil liabilities. You should check with a lawyer.