[Python-Dev] cpython: inspect: Add slots to BoundArguments. (original) (raw)
Yury Selivanov yselivanov.ml at gmail.com
Fri May 15 18:46:44 CEST 2015
- Previous message (by thread): [Python-Dev] cpython: inspect: Add __slots__ to BoundArguments.
- Next message (by thread): [Python-Dev] cpython: inspect: Add __slots__ to BoundArguments.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
There are pickle tests for all signature related classes (all protocols for BoundArguments, Signature and Parameter).
This patch ensures that old pickled BoundArguments will be unpickled without a problem in 3.5.
Yury
On 2015-05-15 7:57 AM, Antoine Pitrou wrote:
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🔞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.
Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/yselivanov.ml%40gmail.com
- Previous message (by thread): [Python-Dev] cpython: inspect: Add __slots__ to BoundArguments.
- Next message (by thread): [Python-Dev] cpython: inspect: Add __slots__ to BoundArguments.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]