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
src/p/y/pymerase-HEAD/smw/trunk/smw/modeler/modelerApp.py pymerase(Download)
from smw import log from smw import exceptions from cPickle import UnpicklingError import sys import string import thread
src/r/e/RelStorage-1.4.0/relstorage/tests/reltestbase.py RelStorage(Download)
def checkPackBrokenPickle(self):
# Verify the pack stops with the right exception if it encounters
# a broken pickle.
from cPickle import UnpicklingError
self._dostoreNP(self._storage.new_oid(), data='brokenpickle')
self.assertRaises(UnpicklingError, self._storage.pack,
time.time() + 10000, referencesf)