Issue 23408: Pickle tests use incorrect test data (original) (raw)

Created on 2015-02-08 09:05 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_pickle_data.patch serhiy.storchaka,2015-02-08 09:05 review
Messages (2)
msg235551 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-02-08 09:05
Pickle tests use incorrect test data for protocols 0-2. This data is not compatible with Python 2 because refers to Python 3 modules builtins and copyreg (instead of __builtin__ and copy_reg). Proposed patch fixes this (data was regenerated by pythontester). Allso corrected dissassembly dumps.
msg236035 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-02-15 12:34
Committed in d92a067464a0 and 3e4ed1a23cfc.
History
Date User Action Args
2022-04-11 14:58:12 admin set github: 67597
2015-02-15 12:34:53 serhiy.storchaka set status: open -> closedresolution: fixedmessages: + stage: patch review -> resolved
2015-02-15 12:07:12 serhiy.storchaka set assignee: serhiy.storchaka
2015-02-08 09:05:46 serhiy.storchaka create