A couple of years ago I did this as an extension module. It might still be around (I still use it). Take a look for something called objectmodule. It's actually a mechanism for implementing different object models from within python. Beware, class methods are just part of what it is capable of.
I found it and will look into it.