This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients docs@python, gjwebber, pitrou
Date 2013-04-09.13:25:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365513924.58.0.303946082042.issue17674@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-04-09 13:25:24pitrousetrecipients: + pitrou, docs@python, gjwebber
2013-04-09 13:25:24pitrousetmessageid: <1365513924.58.0.303946082042.issue17674@psf.upfronthosting.co.za>
2013-04-09 13:25:24pitroulinkissue17674 messages
2013-04-09 13:25:24pitroucreate