I created the pyvisitor repository over on GitHub in case you want to use my implementation of the visitor pattern in Python.

I’ve released it under the MIT license, so you can do whatever you want with it.

It now occur to me that I should have released it under the WTFPL, but I don’t have the heart to change the LICENSE file.

Hope you enjoy it.