[issue960821] Add an updating load function in pickle

Alexander Belopolsky report at bugs.python.org
Tue Jun 29 04:55:30 CEST 2010

Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

This functionality already exists.  

If a string is returned [from __reduce__() method], the string should be interpreted as the name of a global variable. It should be the object’s local name relative to its module; the pickle module searches the module namespace to determine the object’s module. This behaviour is typically useful for singletons.
""" -- http://docs.python.org/dev/py3k/library/pickle.html

assignee:  -> belopolsky
nosy: +belopolsky
resolution:  -> invalid
status: open -> pending

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list