Module Import alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Str Num Assert CompareGtE NameLoad Num Assign NameStore SubscriptLoad NameLoad Slice NameLoad If BoolOpAnd NameLoad CompareNotEq NameLoad BinOpMult Str Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Str Num Assert CompareGtE NameLoad Num Return SubscriptLoad NameLoad Slice NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Str Num Assert CompareGtE NameLoad Num Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice NameLoad SubscriptLoad NameLoad Slice NameLoad If BoolOpAnd NameLoad CompareNotEq NameLoad BinOpMult Str Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Return TupleLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assert CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad orelse If BoolOpOr CompareEq NameLoad Str Call AttributeLoad NameLoad attr Str body AugAssignAdd NameStore NameLoad orelse AugAssignAdd NameStore BinOpAdd Str NameLoad Return NameLoad decorator_list Call NameLoad NameLoad ListLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad body Assign NameStore BinOpAdd ListLoad Str SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num orelse Assign NameStore BinOpAdd ListLoad Str Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Num BinOpAdd Call NameLoad NameLoad Num body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Slice Num NameLoad If Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Return Call NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Slice NameLoad orelse Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Slice NameLoad Return Call NameLoad NameLoad Return Call NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict While Call NameLoad NameLoad body If CompareIn NameLoad NameLoad body Return NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad ListLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list Call NameLoad NameLoad
N/A N/A os os.path isabs islink abspath normpath rpython.rlib.rpath rabspath rpython.rlib.objectmodel enforceargs dirname N/A N/A p N/A N/A N/A Returns the directory component of a pathname N/A i N/A N/A N/A p rfind / 1 N/A N/A i 0 N/A head N/A p N/A i N/A N/A head N/A head N/A / N/A len head N/A N/A head N/A N/A head rstrip / N/A head N/A N/A enforceargs str basename N/A N/A p N/A N/A N/A Returns the final component of a pathname N/A i N/A N/A N/A p rfind / 1 N/A N/A i 0 N/A N/A p N/A i N/A N/A enforceargs str split N/A N/A p N/A N/A N/A Split a pathname.  Returns tuple "(head, tail)" where "tail" is
    everything after the final slash.  Either part may be empty. N/A i N/A N/A N/A p rfind / 1 N/A N/A i 0 N/A N/A head tail N/A N/A p N/A i N/A p N/A i N/A N/A head N/A head N/A / N/A len head N/A N/A head N/A N/A head rstrip / N/A N/A head tail N/A N/A enforceargs str exists N/A N/A path N/A N/A N/A Test whether a path exists.  Returns False for broken symbolic links N/A N/A N/A N/A path None N/A N/A N/A os stat path N/A N/A N/A N/A os error N/A N/A False N/A True N/A N/A enforceargs str join N/A N/A a p N/A N/A N/A Join two or more pathname components, inserting '/' as needed.
    If any component is an absolute path, all previous path components
    will be discarded.  An empty last part will result in a path that
    ends with a separator. N/A path a N/A b p N/A N/A N/A N/A b startswith / N/A N/A path b N/A N/A N/A N/A path N/A N/A path endswith / N/A N/A path b N/A N/A path N/A / b N/A path N/A N/A enforceargs str N/A str realpath N/A N/A filename N/A N/A N/A Return the canonical path of the specified filename, eliminating any
symbolic links encountered in the path. N/A N/A isabs filename N/A N/A bits N/A N/A / N/A N/A N/A filename split / N/A 1 N/A N/A bits N/A N/A N/A N/A filename split / N/A i N/A range 2 N/A N/A len bits 1 N/A N/A component N/A join N/A bits N/A 0 N/A bits N/A 1 i N/A N/A islink component N/A N/A resolved N/A _resolve_link component N/A N/A resolved None N/A N/A N/A abspath N/A join component N/A bits N/A i N/A N/A newpath N/A join resolved N/A bits N/A i N/A N/A realpath newpath N/A N/A abspath filename N/A N/A enforceargs str _resolve_link N/A N/A path N/A N/A N/A Internal helper function.  Takes a path and follows symlinks
    until we either arrive at something that isn't a symlink, or
    encounter a path we've seen before (meaning that there's a loop).
     N/A paths_seen N/A N/A N/A islink path N/A N/A N/A path paths_seen N/A N/A None N/A N/A paths_seen N/A path None N/A resolved N/A N/A os readlink path N/A N/A N/A isabs resolved N/A N/A dir N/A dirname path N/A path N/A normpath N/A join dir N/A resolved N/A N/A path N/A normpath resolved N/A path N/A N/A enforceargs str