Module Import alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assert Call NameLoad NameLoad Str Assert BoolOpOr Call NameLoad NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Print AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BoolOpOr BoolOpAnd AttributeLoad NameLoad attr Str Str Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Print AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Print AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list ClassDef bases body Expr Str For NameStore Call AttributeLoad Str attr body TryExcept body Exec BinOpMod Str TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad decorator_list
N/A N/A py N/A sys File N/A object N/A N/A  log consumer wrapping a file(-like) object
     __init__ N/A N/A self f N/A N/A N/A N/A hasattr f write N/A N/A N/A isinstance f file N/A N/A hasattr f open N/A N/A self _file f N/A __call__ N/A N/A self msg N/A N/A N/A  write a message to the log  N/A N/A self _file N/A str msg N/A N/A Path N/A object N/A N/A  log consumer able to write log messages into
     __init__ N/A N/A self filename append delayed_create buffering N/A False False 1 N/A N/A N/A self _append append N/A N/A self _filename filename N/A N/A self _buffering buffering N/A N/A delayed_create N/A N/A N/A N/A self _openfile N/A _openfile N/A N/A self N/A N/A N/A mode N/A N/A N/A self _append a w N/A f N/A open N/A str N/A self _filename mode buffering N/A self _buffering N/A N/A self _file f N/A __call__ N/A N/A self msg N/A N/A N/A  write a message to the log  N/A N/A N/A hasattr self _file N/A N/A N/A N/A self _openfile N/A N/A self _file msg N/A N/A STDOUT N/A N/A msg N/A N/A N/A  consumer that writes to sys.stdout  N/A N/A sys stdout N/A str msg N/A STDERR N/A N/A msg N/A N/A N/A  consumer that writes to sys.stderr  N/A N/A sys stderr N/A str msg N/A Syslog N/A N/A N/A  consumer that writes to the syslog daemon  N/A priority N/A N/A LOG_EMERG LOG_ALERT LOG_CRIT LOG_ERR LOG_WARNING LOG_NOTICE LOG_INFO LOG_DEBUG split N/A N/A N/A N/A N/A %s = py.std.syslog.%s N/A priority priority N/A N/A N/A AttributeError N/A N/A __init__ N/A N/A self priority N/A None N/A N/A N/A self priority N/A self LOG_INFO N/A N/A priority None N/A N/A N/A self priority priority N/A __call__ N/A N/A self msg N/A N/A N/A  write a message to the log  N/A N/A N/A N/A N/A py std syslog syslog N/A self priority N/A str msg N/A N/A setconsumer N/A N/A keywords consumer N/A N/A N/A  create a consumer for a set of keywords  N/A N/A isinstance keywords str N/A N/A keywords N/A tuple N/A map None N/A N/A keywords split N/A N/A N/A hasattr keywords keywords N/A N/A keywords N/A keywords keywords N/A N/A N/A N/A isinstance keywords tuple N/A N/A N/A TypeError N/A key %r is not a string or tuple N/A keywords N/A N/A N/A consumer None N/A N/A callable consumer N/A N/A N/A N/A hasattr consumer write N/A N/A N/A TypeError N/A %r should be None, callable or file-like N/A consumer N/A consumer N/A File consumer N/A N/A N/A N/A N/A N/A py log Producer keywords set_consumer consumer N/A