Module Import alias alias alias alias Import alias FunctionDef arguments args defaults body ImportFrom alias Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore BinOpDiv Call NameLoad AttributeLoad NameLoad attr Num If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Str orelse If AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str If CompareGt NameLoad Num body Assign NameStore BinOpMod Str BinOpMult NameLoad Num Print BinOpMod Str TupleLoad NameLoad NameLoad NameLoad While Num body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMult Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMult Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Pass If BoolOpAnd AttributeLoad NameLoad attr CompareNotEq NameLoad NameLoad body Print BinOpMod Str TupleLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A sys os time random N/A smisk.ipc.bsddb main N/A N/A N/A N/A optparse OptionParser N/A parser N/A OptionParser N/A N/A N/A parser add_option -i --random-idle dest idle help Milliseconds to idle between operations, randomized 0-1. Defaults to 100. metavar MS default 100 type int N/A N/A N/A parser add_option -r --read action store_true dest read default False help Perform reading N/A N/A N/A parser add_option -w --write action store_true dest write default False help Perform writing N/A N/A N/A parser add_option -d --detect action store_true dest detect_concurrance default False help When concurrance is detected, print info to stdout. Implies -r and -w N/A N/A options args N/A N/A parser parse_args N/A N/A N/A N/A options read N/A N/A options write N/A N/A N/A options read True N/A store N/A N/A N/A N/A smisk ipc bsddb shared_dict N/A idle_sec N/A N/A float N/A options idle 1000.0 N/A N/A options detect_concurrance N/A N/A N/A options write True N/A N/A options read True N/A rw write N/A N/A N/A options read N/A options write N/A N/A rw write+read N/A N/A N/A options read N/A N/A rw read N/A pid N/A N/A os getpid N/A idle_msg N/A N/A idle_sec 0.0 N/A N/A idle_msg N/A  with randomized iteration idle time: 0.0-%.0f ms N/A idle_sec 1000.0 N/A N/A [%d] Running %s%s N/A pid rw idle_msg N/A 1 N/A N/A N/A options write N/A N/A N/A N/A time sleep N/A N/A N/A random random idle_sec N/A N/A store N/A pid pid N/A N/A options read N/A N/A N/A N/A time sleep N/A N/A N/A random random idle_sec N/A N/A N/A pid_found N/A store N/A pid N/A N/A N/A KeyError N/A N/A N/A N/A N/A options detect_concurrance N/A pid_found pid N/A N/A N/A [%d] Concurrance detected -- #%d wrote in between N/A pid pid_found N/A N/A N/A __name__ __main__ N/A N/A N/A main