def settrace(func):
 assert 0, 'threading.settrace not supported in Pyston yet'
 global _trace_hook
 _trace_hook = func

def settrace ( func ) : assert 0 , 'threading.settrace not supported in Pyston yet' global _trace_hook _trace_hook = func
set a trace function for all threads started from the threading module .