Project

General

Profile

Bug #24931

Review and fix all uses of pickle

Added by Marco Mambelli about 2 months ago. Updated 19 days ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
09/09/2020
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

The protocol in python2 was ASCII content, so text files were OK (binary suggested). Not any more. And we have some code where pickle files are opened as text. I did a quick survey of the code, there are over 90 lines where pickle is used and need to be revised.

History

#1 Updated by Marco Mambelli about 2 months ago

  • Status changed from New to Resolved

done. changes in v39/24931

In the process I noted that path are not handles in a uniform way and opened [#24940]
There are also some functions in util.py that open the file as 'w' or 'wb' depending on the input being str or bytes. This may be error prone

#2 Updated by Marco Mambelli about 1 month ago

  • Assignee set to Marco Mambelli

#3 Updated by Marco Mambelli 19 days ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF