#NEWLINE# def submit( self , task ) : #NEWLINE# #INDENT# '\n        Used to submit a task to this pool.\n\n        Returns false is queue size is exceeded.\n        ' #NEWLINE# try : #NEWLINE# #INDENT# self . task_queue . put_nowait ( task ) #NEWLINE# return True #NEWLINE# #UNINDENT# except Full : #NEWLINE# #INDENT# self . limit_exceeded ( self ) #NEWLINE# return False