[Python-porting] Pickling unbound methods on Python 3

cool-RR cool-rr at cool-rr.com
Sat May 29 20:03:28 CEST 2010


On Sat, May 29, 2010 at 7:41 PM, Lennart Regebro <regebro at gmail.com> wrote:

> On Sat, May 29, 2010 at 18:40, cool-RR <cool-rr at cool-rr.com> wrote:
> > I see. Where would be a good place to discuss this decision? I would want
> > 3.2 to allow pickling of unbound methods.
>
> That would be python-dev at python.org
>
> However, it has already been discussed:
>
>  http://mail.python.org/pipermail/python-dev/2005-January/050625.html
>  http://mail.python.org/pipermail/python-dev/2007-November/075279.html
>
> It turns out, even the pickling argument was discussed.
>
>  http://mail.python.org/pipermail/python-dev/2005-January/051143.html
>
> Essentially, the argument is that it's easier to use a function
> instead of writing a pickler for a method in the first case, so
> support for pickling unbound methods isn't a high priority as there
> are easier and less magic ways to solve the use case.
>
>
> I know that's not what you want to hear, but that's likely to be the
> answer you'll get.
>
> --
> Lennart Regebro
>

Thanks for the info Lennart.

Ram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-porting/attachments/20100529/e5cd48b5/attachment.html>


More information about the Python-porting mailing list