[Python-Dev] Pickling instances of nested classes

"Martin v. Löwis" martin at v.loewis.de
Wed Mar 30 00:43:52 CEST 2005

Walter Dörwald wrote:
> So is this change wanted? useful? implementable with reasonable effort? Or
> just not worth it?

I think it is just not worth it. This means I won't attempt to implement
it. I think I defined originally the __module__ attribute for classes to
support better pickling (and defined it to be a string to avoid cycles);
we considered the nested classes case at the time and concluded "oh
well, don't do that then".


More information about the Python-Dev mailing list