Closed GoogleCodeExporter closed 9 years ago
Works for me:
Python 2.6.8 (default, May 12 2012, 12:41:44)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from concurrent.futures import ProcessPoolExecutor
>>> def go(x): print x
...
>>> with ProcessPoolExecutor(1) as p: list(p.map(go, range(3)))
...
0
1
2
[None, None, None]
Original comment by Dema...@gmail.com
on 25 Aug 2012 at 1:54
Bizarre. Works for me now too.
Original comment by yaa...@gmail.com
on 25 Aug 2012 at 5:14
(I'm also using a newer Python - not sure if that makes a difference)
Original comment by yaa...@gmail.com
on 25 Aug 2012 at 5:14
i'm having the same problem with python 2.6.8, what version of python are u
using when it works finally
Original comment by xiaotian...@gmail.com
on 20 Jun 2013 at 9:14
I was using Python 2.7. Not sure if this was the exact version I was using at
the time but I'm currently on 2.7.3.
Original comment by yaa...@gmail.com
on 20 Jun 2013 at 7:19
Original issue reported on code.google.com by
yaa...@gmail.com
on 19 Apr 2011 at 9:28