Issue1772172

classification
Title: remove safe_for_unpickling check from cPickle
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: cgroves, yole
Priority: normal Keywords: patch

Created on 2007-08-11.10:32:14 by yole, last changed 2007-08-12.06:44:30 by cgroves.

Files
File name Uploaded Description Edit Remove
remove_safe_for_unpickling_check.patch yole, 2007-08-11.10:32:14
Messages
msg2787 (view) Author: Dmitry Jemerov (yole) Date: 2007-08-11.10:32:14
According to PEP 307, the safe_for_unpickling check is no longer performed in Python 2.3 and later. The code in the 2.3 branch was broken since r2846, which removed safe_constructors initialization but kept its use (so every attempt to access the array produced NPE). This patch removes both safe_constructors and safe_for_unpickling checks.
msg2788 (view) Author: Charlie Groves (cgroves) Date: 2007-08-12.06:44:30
Looks good.  Committed in r3410.
History
Date User Action Args
2007-08-11 10:32:14yolecreate