Module Expr Str Import alias Import alias Import alias ImportFrom alias TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return NameLoad Assert Call NameLoad NameLoad NameLoad Return UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad TryExcept body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If CompareNotEq AttributeLoad NameLoad attr Num body Raise Return Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str If BoolOpAnd NameLoad UnaryOpNot Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If Call NameLoad AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Num decorator_list
N/A N/A 
This is not needed to use vex.
It just lets us provide a convenient mechanism for people
with popular shells to set up autocompletion.
 N/A os N/A sys N/A re vex exceptions N/A N/A N/A FileNotFoundError N/A N/A N/A NameError N/A N/A FileNotFoundError IOError N/A NOT_SCARY N/A N/A re compile [~]?(?:[/]+[\w _,.][\w _\-,.]+)*\Z scary_path N/A N/A path N/A N/A N/A Whitelist the WORKON_HOME strings we're willing to substitute in
    to strings that we provide for user's shell to evaluate.

    If it smells at all bad, return True.
     N/A N/A path N/A N/A True N/A N/A isinstance path bytes N/A N/A N/A N/A NOT_SCARY match path N/A shell_config_for N/A N/A shell vexrc environ N/A N/A N/A return completion config for the named shell.
     N/A here N/A N/A N/A os path dirname N/A N/A N/A os path abspath __file__ N/A path N/A N/A N/A os path join here shell_configs shell N/A N/A N/A N/A open path rb inp N/A N/A data N/A N/A inp read N/A N/A N/A FileNotFoundError N/A error N/A N/A N/A N/A error errno 2 N/A N/A N/A N/A ve_base N/A N/A N/A N/A vexrc get_ve_base environ encode ascii N/A N/A ve_base N/A N/A scary_path ve_base N/A N/A N/A os path exists ve_base N/A N/A data N/A N/A data replace $WORKON_HOME ve_base N/A data N/A handle_shell_config N/A N/A shell vexrc environ N/A N/A N/A Carry out the logic of the --shell-config option.
     vex shell_config N/A data N/A N/A shell_config shell_config_for shell vexrc environ N/A N/A data N/A N/A N/A N/A exceptions OtherShell N/A N/A unknown shell: {0!r} format shell N/A N/A hasattr N/A sys stdout buffer N/A N/A N/A N/A N/A N/A sys stdout buffer write data N/A N/A N/A N/A N/A sys stdout write data N/A 0 N/A