Antoine Pitrou <pit...@free.fr> added the comment: > Sorry, I didn't read an error message very carefully. When I apply your patch > I see: > > >>> from concurrent.futures import * > >>> from time import * > >>> t = ThreadPoolExecutor(5) > >>> t.submit(sleep, 100) > <Future at 0x8acc94c state=running> > >>> <ctrl-D> > Error in atexit._run_exitfuncs: > NameError: global name 'thread' is not defined > > Does that not happen in your environment?
Ah, thank you, it does happen here too. I should fix the error (a typo) and add tests for this too. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11635> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com