#NEWLINE# def _python_exit( ) : #NEWLINE# #INDENT# global _shutdown #NEWLINE# _shutdown = True #NEWLINE# items = _threads_queues . items ( ) #NEWLINE# for ( t , q ) in items : #NEWLINE# #INDENT# q . put ( None ) #NEWLINE# #UNINDENT# for ( t , q ) in items : #NEWLINE# #INDENT# t . join ( )