A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-March/052483.html below:

[Python-Dev] Pickling instances of nested classes

[Python-Dev] Pickling instances of nested classes [Python-Dev] Pickling instances of nested classesWalter 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4