[Zope-Checkins] CVS: Components/cPickle - cPickle.c:1.66

Jim Fulton jim@tarzan.digicool.com
Tue, 13 Apr 1999 13:23:49 -0400

Update of /cvs-repository/Components/cPickle
In directory tarzan.digicool.com:/tmp/cvs-serv3803

Modified Files:
Log Message:
Added new Unpickler attribute, find_global.  If set to None, then
global and instance pickles are disabled.  Otherwise, it should be set to
a callable object that takes two arguments, a module name and an
object name, and returns an object.  If the attribute is unset, then
the default mechanism is used.

This feature provides an additional mechanism for controlling which
classes can be used for unpickling.