/usr/lib/python2.6/site-packages/jsonschema
NameSizeModeActions
schemas/-0755rm
tests/-0755rm
cli.py20140644editdlrm
cli.pyc28450644editdlrm
compat.py15530644editdlrm
compat.pyc19680644editdlrm
exceptions.py69730644editdlrm
exceptions.pyc109020644editdlrm
validators.py159210644editdlrm
validators.pyc163410644editdlrm
_format.py68810644editdlrm
_format.pyc90350644editdlrm
_reflect.py50230644editdlrm
_reflect.pyc55270644editdlrm
_utils.py49810644editdlrm
_utils.pyc84160644editdlrm
_validators.py117900644editdlrm
_validators.pyc129600644editdlrm
_version.py1220644editdlrm
_version.pyc2320644editdlrm
__init__.py6790644editdlrm
__init__.pyc10210644editdlrm
__main__.py390644editdlrm
__main__.pyc2100644editdlrm
Edit: /usr/lib/python2.6/site-packages/jsonschema/_reflect.pyc (5527B)
Ñò DVc@sµdZddkZddklZdefd„ƒYZdefd„ƒYZdefd „ƒYZd efd „ƒYZ eo d „Z n d dUde _d„Z d„Z dS(st Standardized versions of various cool and/or strange things that you can do with Python's reflection capabilities. iÿÿÿÿN(tPY3t_NoModuleFoundcBseZdZRS(s2 No module was found because none exists. (t__name__t __module__t__doc__(((s7/tmp/pip-build-lt8jXN/jsonschema/jsonschema/_reflect.pyRst InvalidNamecBseZdZRS(sG The given name is not a dot-separated list of Python objects. (RRR(((s7/tmp/pip-build-lt8jXN/jsonschema/jsonschema/_reflect.pyRstModuleNotFoundcBseZdZRS(s_ The module associated with the given name doesn't exist and it can't be imported. (RRR(((s7/tmp/pip-build-lt8jXN/jsonschema/jsonschema/_reflect.pyRstObjectNotFoundcBseZdZRS(s_ The object associated with the given name doesn't exist and it can't be imported. (RRR(((s7/tmp/pip-build-lt8jXN/jsonschema/jsonschema/_reflect.pyR%scCs|i|ƒ‚dS(N(twith_traceback(t exceptiont traceback((s7/tmp/pip-build-lt8jXN/jsonschema/jsonschema/_reflect.pytreraise.ssZdef reraise(exception, traceback): raise exception.__class__, exception, tracebacksZ Re-raise an exception, with an optional traceback, in a way that is compatible with both Python 2 and Python 3. Note that on Python 3, re-raised exceptions will be mutated, with their C{__traceback__} attribute being set. @param exception: The exception instance. @param traceback: The traceback to use, or C{None} indicating a new traceback. cCs™yt|ƒSWn„tj oxtiƒ\}}}xP|oH|iid}|djp ||jot||ƒn|i}q7Wt ƒ‚nXdS(sò Import the given name as a module, then walk the stack to determine whether the failure was the module not existing, or some code in the module (for example a dependent import) failing. This can be helpful to determine whether any actual application code was run. For example, to distiguish administrative error (entering the wrong module name), from programmer error (writing buggy code in a module that fails to import). @param importName: The name of the module to import. @type importName: C{str} @raise Exception: if something bad happens. This can be any type of exception, since nobody knows what loading some arbitrary code might do. @raise _NoModuleFound: if no module was found. RN( t __import__t ImportErrortsystexc_infottb_framet f_globalstNoneR ttb_nextR(t importNametexcTypetexcValuet excTracebacktexecName((s7/tmp/pip-build-lt8jXN/jsonschema/jsonschema/_reflect.pyt_importAndCheckStack@scCs|ptdƒ‚n|idƒ}d|jotd|fƒ‚nd}|}x“|p‹|oCdi|ƒ}yt|ƒ}Wqètj o|iƒqèXqZt|ƒdjotd|fƒ‚qZt d|fƒ‚qZW|}x!|dD]}t ||ƒ}qþW|S( s¯ Retrieve a Python object by its fully qualified name from the global Python module namespace. The first part of the name, that describes a module, will be discovered and imported. Each subsequent part of the name is treated as the name of an attribute of the object specified by all of the name which came before it. For example, the fully-qualified name of this object is 'twisted.python.reflect.namedAny'. @type name: L{str} @param name: The name of the object to return. @raise InvalidName: If the name is an empty string, starts or ends with a '.', or is otherwise syntactically incorrect. @raise ModuleNotFound: If the name is syntactically correct but the module it specifies cannot be imported because it does not appear to exist. @raise ObjectNotFound: If the name is syntactically correct, includes at least one '.', but the module it specifies cannot be imported because it does not appear to exist. @raise AttributeError: If an attribute of an object along the way cannot be accessed, or a module along the way is not found. @return: the Python object identified by 'name'. sEmpty module namet.tsOname must be a string giving a '.'-separated list of Python identifiers, not %risNo module named %rs%r does not name an objectN( RtsplitRtjoinRRtpoptlenRRtgetattr(tnametnamesttopLevelPackaget moduleNamest trialnametobjtn((s7/tmp/pip-build-lt8jXN/jsonschema/jsonschema/_reflect.pytnamedAny_s2  ( RRtjsonschema.compatRt ExceptionRt ValueErrorRRRR RR((((s7/tmp/pip-build-lt8jXN/jsonschema/jsonschema/_reflect.pyts