Module ImportFrom alias Import alias Import alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body If CompareEq NameLoad Call AttributeLoad NameLoad attr body Return Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call NameLoad BoolOpOr Call AttributeLoad NameLoad attr Num If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return TryExcept body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call NameLoad BoolOpOr Call AttributeLoad NameLoad attr Num If CompareLtE NameLoad Num body Return TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Num Return NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Return Raise handlers ExceptHandler type NameLoad name NameStore body If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Return Raise decorator_list decorator_list
N/A __future__ with_statement N/A errno N/A os N/A tempfile Pidfile N/A object N/A N/A     Manage a PID file. If a specific name is provided
    it and '"%s.oldpid" % name' will be used. Otherwise
    we create a temp file using os.mkstemp.
     __init__ N/A N/A self fname N/A N/A N/A N/A self fname fname N/A N/A self pid None N/A create N/A N/A self pid N/A N/A N/A oldpid N/A N/A self validate N/A oldpid N/A N/A N/A oldpid N/A N/A os getpid N/A N/A N/A N/A RuntimeError N/A Already running on PID %s (or pid file '%s' is stale) N/A N/A N/A os getpid N/A self fname N/A N/A self pid pid N/A fdir N/A N/A N/A os path dirname N/A self fname N/A N/A fdir N/A N/A N/A N/A os path isdir fdir N/A N/A N/A RuntimeError N/A %s doesn't exist. Can't create pidfile. fdir N/A N/A fd fname N/A N/A tempfile mkstemp dir fdir N/A N/A N/A os write fd N/A %s
 N/A self pid N/A N/A self fname N/A N/A N/A N/A os rename fname N/A self fname N/A N/A N/A self fname fname N/A N/A N/A os close fd N/A N/A N/A os chmod N/A self fname 420 N/A rename N/A N/A self path N/A N/A N/A N/A N/A self unlink N/A N/A self fname path N/A N/A N/A self create N/A self pid N/A unlink N/A N/A self N/A N/A N/A  delete pidfile N/A N/A N/A N/A open N/A self fname r f N/A N/A pid1 N/A int N/A N/A N/A f read 0 N/A N/A pid1 N/A self pid N/A N/A N/A N/A os unlink N/A self fname N/A N/A N/A N/A N/A validate N/A N/A self N/A N/A N/A  Validate pidfile and make it stale if needed N/A N/A N/A self fname N/A N/A N/A N/A N/A N/A open N/A self fname r f N/A N/A wpid N/A int N/A N/A N/A f read 0 N/A N/A wpid 0 N/A N/A N/A N/A N/A N/A N/A os kill wpid 0 N/A wpid N/A N/A N/A OSError N/A e N/A N/A N/A N/A e N/A 0 N/A errno ESRCH N/A N/A N/A N/A N/A N/A IOError N/A e N/A N/A N/A N/A e N/A 0 N/A errno ENOENT N/A N/A N/A N/A N/A