On Wed, 2005-01-05 at 10:41, Glyph Lefkowitz wrote:
I think it would be reasonable to assign im_class only to functions defined in class scope. The only serialization that would break in that case is if your example had a 'del f' at the end.
+1. If you're doing something funkier, then you can set that attribute yourself.