src/p/y/pyspread-HEAD/trunk/_pyspread/_interfaces.py pyspread(Download)
def find_class(cls, module, name):
"""Prevents unpickling from non PICKLE_SAFE classes"""
if not module in cls.PICKLE_SAFE:
raise pickle.UnpicklingError(
'Attempting to unpickle unsafe module %s' % module
)
__import__(module)
mod = sys.modules[module]
if not name in cls.PICKLE_SAFE[module]:
raise pickle.UnpicklingError(
'Attempting to unpickle unsafe class ' + str(name) + \
src/p/y/pyspread-HEAD/_pyspread/_interfaces.py pyspread(Download)
def find_class(cls, module, name):
"""Prevents unpickling from non PICKLE_SAFE classes"""
if not module in cls.PICKLE_SAFE:
raise pickle.UnpicklingError(
'Attempting to unpickle unsafe module %s' % module
)
__import__(module)
mod = sys.modules[module]
if not name in cls.PICKLE_SAFE[module]:
raise pickle.UnpicklingError(
'Attempting to unpickle unsafe class ' + str(name) + \
src/p/y/pyspread-0.1.1/_pyspread/_interfaces.py pyspread(Download)
def find_class(cls, module, name):
"""Prevents unpickling from non PICKLE_SAFE classes"""
if not module in cls.PICKLE_SAFE:
raise pickle.UnpicklingError(
'Attempting to unpickle unsafe module %s' % module
)
__import__(module)
mod = sys.modules[module]
if not name in cls.PICKLE_SAFE[module]:
raise pickle.UnpicklingError(
'Attempting to unpickle unsafe class ' + str(name) + \
src/b/u/burpee-HEAD/gds/pub/burp/utils.py burpee(Download)
else:
LOGGER.error("Incorrect checksum while loading state from " + filename)
raise cPickle.UnpicklingError("Incorrect checksum while loading state")
def is_equal(original, supplied):