Module Import alias Import alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Expr Str Pass FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad TryExcept body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Print NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If NameLoad body Return Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad Str NameLoad Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore BinOpMult Call NameLoad NameLoad Call NameLoad Num NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Return NameLoad decorator_list Expr Str Assign NameStore Num If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Str FunctionDef arguments args defaults body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str If CompareEq Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Str If CompareEq Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad For NameStore Call NameLoad Num NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Num Num decorator_list
N/A N/A os N/A platform N/A N/A N/A resource N/A N/A N/A ImportError N/A N/A 
    Not available on Windows
     N/A clear_folder N/A N/A folder N/A N/A N/A 
    Remove the given folder's content.
     N/A the_file N/A N/A os listdir folder N/A N/A file_path N/A N/A N/A os path join folder the_file N/A N/A N/A N/A N/A N/A os path isfile file_path N/A N/A N/A N/A os unlink file_path N/A N/A N/A Exception N/A e N/A N/A e N/A clean_hostname N/A N/A hostname N/A N/A N/A 
    Remove the .local appendix of a hostname.
     N/A hostname N/A N/A N/A N/A hostname replace .local N/A duration_to_seconds N/A N/A duration_str N/A N/A N/A 
    Acceptable formats are: "MM:SS", "HH:MM" and "HH:MM:SS".
     N/A values N/A N/A duration_str split : N/A N/A N/A len values 1 N/A N/A N/A Exception Invalid value supplied: %s duration_str N/A seconds 0 N/A N/A i val N/A enumerate N/A reversed values N/A N/A val N/A N/A int val N/A pow 60 i N/A seconds N/A seconds val N/A seconds N/A N/A 
The following code is originating from Gunicorn:
https://github.com/benoitc/gunicorn
 N/A MAXFD 1024 N/A N/A hasattr os devnull N/A N/A REDIRECT_TO N/A os devnull N/A N/A REDIRECT_TO /dev/null get_maxfd N/A N/A N/A N/A N/A maxfd N/A N/A N/A resource getrlimit N/A resource RLIMIT_NOFILE N/A 1 N/A N/A maxfd N/A resource RLIM_INFINITY N/A N/A maxfd MAXFD N/A maxfd N/A daemonize N/A N/A N/A N/A N/A 
    Currently only implemented for Unix like systems.
     N/A N/A N/A N/A platform system Windows N/A N/A N/A Exception Daemonizing is currently not supported on Windows. N/A N/A N/A N/A os fork 0 N/A N/A N/A N/A os setsid N/A N/A N/A os fork N/A N/A N/A N/A os _exit 0 N/A N/A N/A N/A os _exit 0 N/A N/A N/A os umask 0 N/A maxfd N/A get_maxfd N/A fd N/A range 0 maxfd N/A N/A N/A N/A N/A N/A os close fd N/A N/A N/A OSError N/A N/A N/A N/A N/A os open REDIRECT_TO N/A os O_RDWR N/A N/A N/A os dup2 0 1 N/A N/A N/A os dup2 0 2 N/A