[Python-porting] Pickling unbound methods on Python 3

"Martin v. Löwis" martin at v.loewis.de
Sun May 30 23:34:08 CEST 2010


Am 30.05.2010 12:00, schrieb cool-RR:
> On Sun, May 30, 2010 at 9:19 AM, "Martin v. Löwis" <martin at v.loewis.de
> <mailto:martin at v.loewis.de>> wrote:
>
>         I can think of a few solutions:
>
>         1. Make `save_global` look in the classes inside the module as well.
>
>
>     How exactly would you do this? I don't think this is implementable,
>     in a reasonable way.
>
>
> I don't understand what the problem is with just looking in the classes
> defined in the module:

I wouldn't call this a reasonable implementation. It is fairly expensive.

Regards,
Martin


More information about the Python-porting mailing list