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):
src/t/y/typedbytes-HEAD/typedbytes.py typedbytes(Download)
def classes():
from cPickle import dumps, loads, UnpicklingError, HIGHEST_PROTOCOL
from struct import pack, unpack, error as StructError
try:
from struct import Struct
except ImportError:
src/n/o/notabene-HEAD/trunk/lib/rdflib/store/NodePickler.py notabene(Download)
############## from cPickle import Pickler, Unpickler, UnpicklingError from cStringIO import StringIO class NodePickler(object):
src/p/a/PasteWebKit-1.0/paste/webkit/FakeWebware/MiscUtils/PickleRPC.py PasteWebKit(Download)
import types try: from cPickle import dumps, Unpickler, UnpicklingError except ImportError: from pickle import dumps, Unpickler, UnpicklingError
src/w/e/Webware-for-Python-1.0.2/MiscUtils/PickleRPC.py Webware for Python(Download)
import types try: from cPickle import dumps, Unpickler, UnpicklingError except ImportError: from pickle import dumps, Unpickler, UnpicklingError
src/p/y/pysolfc-HEAD/PySolFC/trunk/pysollib/mfxutil.py pysolfc(Download)
import webbrowser
try:
from cPickle import Pickler, Unpickler, UnpicklingError
except ImportError:
from pickle import Pickler, Unpickler, UnpicklingError
src/r/d/rdf-0.9a6/rdf/store.py rdf(Download)
############## from cPickle import Pickler, Unpickler, UnpicklingError from cStringIO import StringIO
1 | 2 Next