]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Jim Fulton writes:
authorGuido van Rossum <guido@python.org>
Mon, 19 Apr 1999 17:58:18 +0000 (17:58 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 19 Apr 1999 17:58:18 +0000 (17:58 +0000)
commit1b9e0aae6e9ba19e7f0c4d19772731365bae6656
tree2ea13e243cae0d5898a09aa86f906a95ba22073c
parentdc8b56915534b15668d9f40d499b60934292b4d4
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.
Modules/cPickle.c