Skip to content

Use Multiprocessing "fork" method

Clément Pinard requested to merge ClementPinard/pythonfuzz:mp_fork into master

This MR is applied on top of !3 (merged) , and is related to #6 (closed)

Problem explained here : https://discuss.python.org/t/is-multiprocessing-broken-on-macos-in-python-3-8/4969 Basically, the start method changed in python 3.8 from 'fork' to 'spawn'. This induces some pickling problems for decorated functions, which make pythonfuzz fail (unless we don't use the @ decorator)

This change makes the multiprocessing start method fall back to fork, which changes nothing for python 3.7 and below.

Merge request reports