Module Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body Return AttributeLoad NameLoad attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Raise Call NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A sys N/A threading Thread N/A N/A threading Thread N/A N/A A subclass of threading.Thread, with a stop() method.

    Original version posted by Connelly Barnes to python-list and available at
    http://mail.python.org/pipermail/python-list/2004-May/219465.html

    This version mainly has kill() changed to stop() to match java.lang.Thread.

    This is a hack but seems to be the best way the get this done. Only used
    in Python because in Jython we can use java.lang.Thread.
     __init__ N/A N/A self runner name N/A None N/A N/A N/A N/A N/A threading Thread __init__ self target runner name name N/A N/A self _stopped False N/A start N/A N/A self N/A N/A N/A N/A self __run_backup N/A self run N/A N/A self run N/A self __run N/A N/A N/A N/A threading Thread start self N/A stop N/A N/A self N/A N/A N/A N/A self _stopped True N/A __run N/A N/A self N/A N/A N/A Hacked run function, which installs the trace. N/A N/A N/A sys settrace N/A self _globaltrace N/A N/A N/A self __run_backup N/A N/A self run N/A self __run_backup N/A _globaltrace N/A N/A self frame why arg N/A N/A N/A N/A why call N/A N/A N/A self _localtrace N/A N/A None N/A _localtrace N/A N/A self frame why arg N/A N/A N/A N/A self _stopped N/A N/A N/A why line N/A N/A N/A SystemExit N/A N/A self _localtrace N/A N/A