[Python-Dev] cpython: inspect: Add __slots__ to BoundArguments.

Antoine Pitrou solipsis at pitrou.net
Fri May 15 13:57:22 CEST 2015


On Fri, 15 May 2015 09:28:07 +0300
Serhiy Storchaka <storchaka at gmail.com> wrote:
> On 14.05.15 00:38, yury.selivanov wrote:
> > https://hg.python.org/cpython/rev/ee31277386cb
> > changeset:   96038:ee31277386cb
> > user:        Yury Selivanov <yselivanov at sprymix.com>
> > date:        Wed May 13 17:18:41 2015 -0400
> > summary:
> >    inspect: Add __slots__ to BoundArguments.
> 
> Note that adding __slots__ breaks pickleability.

That's a problem indeed. I think picklability should be part of the
Signature and BoundArguments contracts.

Regards

Antoine.




More information about the Python-Dev mailing list