[Python-checkins] CVS: python/dist/src/Modules cPickle.c

Guido van Rossum guido@cnri.reston.va.us
Mon, 19 Apr 1999 13:58:20 -0400 (EDT)


Update of /projects/cvsroot/python/dist/src/Modules
In directory eric:/projects/python/develop/guido/src/Modules

Modified Files:
	cPickle.c 
Log Message:
Jim Fulton writes:

I have attached a new cPickle that adds a new control attribute
to unpicklers:

  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.