This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Pickle protocol 2 fails on private slots
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, zseil
Priority: normal Keywords: patch

Created on 2006-03-31 17:59 by zseil, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
reduce_private_slots.diff zseil, 2006-03-31 17:59 Patch
Messages (2)
msg49903 - (view) Author: Ziga Seilnacht (zseil) * (Python committer) Date: 2006-03-31 17:59
This is a patch for bug #1443328. It fixes both
failing cases from that bug (the second one is
in the comments) and has tests for all the cases.

On Windows with this patch applied, all test pass.

If somebody is interested in rewriting this in C,
he could use tp_slots field of the PyHeapTypeObject
structure. 
msg49904 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-03-31 18:26
Logged In: YES 
user_id=849994

Thanks for the patch, committed as rev. 43493, 43494.
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43129
2006-03-31 17:59:02zseilcreate