http://www.python.org/dev/peps/pep-3121/ To be implemented one day. I don't even think it would be too hard to use such a per-module instance state struct in general, even when not in Py3. That would keep us from generating tons of Py3 specific code to implement this. Stefan