Module Import alias Import alias Import alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Str Str Str ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad body If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad BoolOpAnd CompareNotEq Call NameLoad NameLoad Str CompareGtE NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body TryExcept body Assign TupleStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return CompareIsNot Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias ImportFrom alias alias Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num While CompareLt NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareGtE NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Index BinOpAdd NameLoad Num BinOpMult SubscriptLoad NameLoad Index BinOpAdd NameLoad Num Num NameLoad AugAssignAdd NameStore Num If CompareEq NameLoad NameLoad body Assign NameStore BinOpMult NameLoad Call AttributeLoad NameLoad attr Num Continue orelse Assign NameStore NameLoad AugAssignAdd NameStore Num Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign NameStore BoolOpOr NameLoad ListLoad Str Assign NameStore ListLoad NameLoad orelse If NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str TryExcept body Assign TupleStore NameStore NameStore TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad TryFinally body If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str orelse If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad NameLoad finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse If BoolOpAnd CompareEq NameLoad NameLoad BoolOpOr CompareEq NameLoad NameLoad CompareEq NameLoad NameLoad body Return NameLoad orelse Assign NameStore NameLoad decorator_list FunctionDef arguments args defaults body Expr Str If BoolOpAnd UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str CompareNotEq AttributeLoad NameLoad attr Str body Return Assign NameStore TupleLoad Str Str For NameStore NameLoad body Delete SubscriptDel Call NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call NameLoad
N/A N/A sys N/A imp N/A marshal imp PKG_DIRECTORY PY_COMPILED PY_SOURCE PY_FROZEN distutils.version StrictVersion setuptools compat N/A __all__ N/A Require find_module get_module_constant extract_constant Require N/A N/A N/A A prerequisite to building or installing a distribution __init__ N/A N/A self name requested_version module homepage attribute format N/A None None N/A N/A N/A N/A format None N/A requested_version None N/A N/A format StrictVersion N/A N/A format None N/A N/A requested_version N/A format requested_version N/A N/A attribute None N/A N/A attribute __version__ N/A N/A N/A N/A self __dict__ update N/A locals N/A N/A self self N/A full_name N/A N/A self N/A N/A N/A Return full package/distribution name, w/version N/A N/A N/A self requested_version None N/A N/A N/A %s-%s N/A N/A self name N/A self requested_version N/A N/A self name N/A version_ok N/A N/A self version N/A N/A N/A Is 'version' sufficiently up-to-date? N/A N/A N/A N/A self attribute None N/A N/A self format None N/A N/A N/A str version unknown N/A version N/A self requested_version N/A get_version N/A N/A self paths default N/A None unknown N/A N/A Get version number of installed module, 'None', or 'default'

        Search 'paths' for module.  If not found, return 'None'.  If found,
        return the extracted version attribute, or 'default' if no version
        attribute was specified, or the value cannot be determined without
        importing the module.  The version is formatted according to the
        requirement's version format (if any), unless it is 'None' or the
        supplied 'default'.
         N/A N/A N/A self attribute None N/A N/A N/A N/A N/A f p i N/A find_module N/A self module paths N/A f N/A N/A N/A N/A f close N/A default N/A N/A N/A ImportError N/A N/A None N/A v N/A get_module_constant N/A self module N/A self attribute default paths N/A N/A N/A v None N/A v default N/A N/A self format None N/A N/A N/A N/A self format v N/A v N/A is_present N/A N/A self paths N/A None N/A N/A Return true if dependency is present on 'paths' N/A N/A N/A N/A self get_version paths None N/A is_current N/A N/A self paths N/A None N/A N/A Return true if dependency is present and up-to-date on 'paths' N/A version N/A N/A self get_version paths N/A N/A version None N/A N/A False N/A N/A N/A self version_ok version N/A N/A _iter_code N/A N/A code N/A N/A N/A Yield '(op,arg)' pair for each operation in code object 'code' array array dis HAVE_ARGUMENT EXTENDED_ARG N/A bytes N/A array b N/A code co_code N/A eof N/A len N/A code co_code N/A ptr 0 N/A extended_arg 0 N/A N/A ptr eof N/A N/A op N/A bytes N/A ptr N/A N/A op HAVE_ARGUMENT N/A N/A arg N/A N/A N/A bytes N/A N/A ptr 1 N/A N/A bytes N/A N/A ptr 2 256 extended_arg N/A ptr 3 N/A N/A op EXTENDED_ARG N/A N/A extended_arg N/A arg N/A N/A compat long_type 65536 N/A N/A N/A arg None N/A ptr 1 N/A N/A N/A op arg N/A find_module N/A N/A module paths N/A None N/A N/A Just like 'imp.find_module()', but with package support N/A parts N/A N/A module split . N/A parts N/A N/A part N/A N/A parts pop 0 N/A N/A f path N/A suffix mode kind info N/A N/A imp find_module part paths N/A N/A kind PKG_DIRECTORY N/A N/A parts N/A parts N/A __init__ N/A paths N/A path N/A N/A parts N/A N/A N/A ImportError N/A Can't find %r in %s N/A parts module N/A info N/A get_module_constant N/A N/A module symbol default paths N/A -1 None N/A N/A Find 'module' by searching 'paths', and extract 'symbol'

    Return 'None' if 'module' does not exist on 'paths', or it does not define
    'symbol'.  If the module defines 'symbol' as a constant, return the
    constant.  Otherwise, return 'default'. N/A N/A N/A N/A f path N/A suffix mode kind N/A find_module module paths N/A N/A N/A ImportError N/A N/A None N/A N/A N/A N/A kind PY_COMPILED N/A N/A N/A N/A f read 8 N/A code N/A N/A marshal load f N/A N/A N/A kind PY_FROZEN N/A N/A code N/A N/A imp get_frozen_object module N/A N/A N/A kind PY_SOURCE N/A N/A code N/A compile N/A N/A f read path exec N/A N/A N/A module N/A sys modules N/A N/A N/A N/A imp load_module module f path N/A suffix mode kind N/A N/A getattr N/A N/A sys modules N/A module symbol None N/A N/A f N/A N/A N/A N/A f close N/A N/A extract_constant code symbol default N/A extract_constant N/A N/A code symbol default N/A -1 N/A N/A Extract the constant value of 'symbol' from 'code'

    If the name 'symbol' is bound to a constant value by the Python code
    object 'code', return that value.  If 'symbol' is bound to an expression,
    return 'default'.  Otherwise, return 'None'.

    Return value is based on the first assignment to 'symbol'.  'symbol' must
    be a global, or at least a non-"fast" local in the code block.  That is,
    only 'STORE_NAME' and 'STORE_GLOBAL' opcodes are checked, and 'symbol'
    must be present in 'code.co_names'.
     N/A N/A symbol N/A code co_names N/A N/A None N/A name_idx N/A N/A N/A list N/A code co_names index symbol N/A STORE_NAME 90 N/A STORE_GLOBAL 97 N/A LOAD_CONST 100 N/A const default N/A N/A op arg N/A _iter_code code N/A N/A N/A op LOAD_CONST N/A N/A const N/A N/A code co_consts N/A arg N/A N/A N/A N/A arg name_idx N/A N/A op STORE_NAME N/A op STORE_GLOBAL N/A N/A const N/A N/A const default N/A _update_globals N/A N/A N/A N/A N/A 
    Patch the globals to remove the objects not available on some platforms.

    XXX it'd be better to test assertions about bytecode instead.
     N/A N/A N/A N/A N/A N/A sys platform startswith java N/A N/A sys platform cli N/A N/A N/A incompatible N/A extract_constant get_module_constant N/A name incompatible N/A N/A N/A N/A globals N/A name N/A N/A N/A __all__ remove name N/A N/A N/A _update_globals