John Taylor added the comment: I have updated the Python 3.6 example for 17.4.2.1. ThreadPoolExecutor Example. Please see the attachment. On my system this is the output:
thread name: loader_0 thread name: loader_1 thread name: loader_2 thread name: loader_3 thread name: loader_4 'http://example.com/' page is 1270 bytes 'http://www.foxnews.com/' page is 67351 bytes 'http://www.cnn.com/' page is 137164 bytes 'http://europe.wsj.com/' page is 914169 bytes 'http://www.bbc.co.uk/' page is 229503 bytes Could you please consider adding this to the official documentation? ---------- Added file: http://bugs.python.org/file46377/ThreadPoolExec_Example.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29284> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com