Antoine Pitrou added the comment: This is not the example code. The example code uses a main() function which is guarded by a "if" block:
if __name__ == '__main__': main() See http://docs.python.org/2/library/multiprocessing.html#windows for explanations. Also, perhaps the concurrent.futures docs could point to that paragraph. ---------- assignee: -> docs@python components: +Documentation -Library (Lib), Windows nosy: +docs@python, pitrou type: crash -> behavior versions: +Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17674> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com