classification
Title: cPickle patch for bug 451547
Type: Stage:
Components: Extension Modules Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: jhylton Nosy List: gmcm, gvanrossum, jhylton
Priority: normal Keywords: patch

Created on 2001-08-17 21:43 by gmcm, last changed 2001-08-18 21:22 by gvanrossum. This issue is now closed.

Files
File name Uploaded Description Edit
cPickle_patch.txt gmcm, 2001-08-17 21:43 context diff
Messages (2)
msg37370 - (view) Author: Gordon B. McMillan (gmcm) Date: 2001-08-17 21:43
This patch attempts to do to cPickle what Guido did 
for pickle.py v 1.50. That is: save_global tries 
importing the module, and fetching the name from the 
module. If that fails, or the returned object is not 
the same one we started with, it raises a 
PicklingError. (All this so pickling a lambda will 
fail at save time, rather than load time).

Modules/cPickle.c is current CVS from view cvs.
msg37371 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-08-18 21:22
Logged In: YES 
user_id=6380

Thanks!   Works like a charm.  Checked in as cPickle.c 2.63.
History
Date User Action Args
2001-08-17 21:43:12gmcmcreate