I have found one place in the library that depended on hasattr(func, '__dict__') to return false -- dis.dis. You might want to check and see if there is anything other code that doesn't expect function's to have extra attributes. I expect that only introspective code would be affected. Jeremy