[Python-Dev] Pickling instances of nested classes
Walter Dörwald
walter at livinglogic.de
Thu Mar 31 16:52:56 CEST 2005
Martin v. Löwis wrote:
> 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".
This sounds like this change would have a far greater chance of getting
into Python if a patch existed (I guess, this is the case for all
changes ;)).
Bye,
Walter Dörwald
More information about the Python-Dev
mailing list