Reputation: 1701
The python dev docs for the multiprocessing module seems to indicate that multiprocessing.set_start_method() should exist as of python 3.4. I installed python 3.4a1 on Mac OS X (10.8.4) via the installer, but when I do:
import multiprocessing
multiprocessing.set_start_method('forkserver')
I get the error:
AttributeError: 'module' object has no attribute 'set_start_method'
Any suggestions?
Upvotes: 1
Views: 1625
Reputation: 69042
python 3.4a1 is - as the a
indicates - still an alpha version. Not all features the final version will have are already implemented.
Specifically, this feature was added on Wed, 14 Aug 2013. The alpha was released on Sat, 3 August 2013.
Upvotes: 1