[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"

2013-04-09 Thread gjwebber
gjwebber added the comment: Damn, this was my screw up. It was a combination of two things that threw me off: 1. I was running my (saved) code un-gaurded, but was getting the same error as with the example code. I thought the problem was elsewhere. 2. As it was just example code, I was copy-p

[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"

2013-04-09 Thread Richard Oudkerk
Richard Oudkerk added the comment: @gjwebber: How exactly are you running the program to get that traceback? The following lines make it look like you are doing something non-standard (as opposed to just saving the file and running it from the command line): File "", line 420, in run_nodebug

[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"

2013-04-09 Thread Brian Curtin
Brian Curtin added the comment: The example code works for me on 3.3.0 on Windows 8. I'd have to find a VM to try out XP like gjwebber - will look later. -- ___ Python tracker _

[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"

2013-04-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, can someone else confirm the issue on Windows? -- nosy: +brian.curtin, sbt, tim.golden ___ Python tracker ___ __

[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"

2013-04-09 Thread gjwebber
gjwebber added the comment: Just ran the example code linked here again for my own sanity: http://docs.python.org/dev/library/concurrent.futures.html#processpoolexecutor-example Exactly the same thing happened. Here is the Traceback: Traceback (most recent call last): File "", line 420, in run

[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"

2013-04-09 Thread gjwebber
gjwebber added the comment: As mentioned in the previously linked post, I copy-pasted the example code shown here: http://docs.python.org/dev/library/concurrent.futures.html#processpoolexecutor-example Which resulted in exactly the same error as the 'more simple' example I provided. There is

[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"

2013-04-09 Thread Antoine Pitrou
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.fut

[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"

2013-04-09 Thread gjwebber
gjwebber added the comment: Forgot to mention, the posted code works for another SO user on Debian and OS X. -- ___ Python tracker ___ ___

[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"

2013-04-09 Thread gjwebber
New submission from gjwebber: Running on Windows XP 32-bit. Uninstalled Python 2.7, installed Python 3.3. I asked a question on stack overflow, detailing the problem and supplying example code and Traceback here: http://stackoverflow.com/questions/15900366/all-example-concurrent-futures-code-is