From 51f32bbe93497143b204b95b7ca5513e61754fef Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 28 Oct 2019 09:17:59 -0700 Subject: Only use multiprocessing when the method is fork In python3.8 on macos and in all versions on windows the multiprocessing method is `spawn` which does not preserve class state. --- docs/source/internal/utils.rst | 6 ------ 1 file changed, 6 deletions(-) (limited to 'docs/source/internal') diff --git a/docs/source/internal/utils.rst b/docs/source/internal/utils.rst index fed9a47..e104d62 100644 --- a/docs/source/internal/utils.rst +++ b/docs/source/internal/utils.rst @@ -59,12 +59,6 @@ allows plugins to use this to retrieve ``stdin`` if necessary. This provides a convenient and explicitly named function that checks if we are currently running on a Windows (or ``nt``) operating system. -.. autofunction:: flake8.utils.can_run_multiprocessing_on_windows - -This provides a separate and distinct check from -:func:`~flake8.utils.is_windows` that allows us to check if the version of -Python we're using can actually use multiprocessing on Windows. - .. autofunction:: flake8.utils.is_using_stdin Another helpful function that is named only to be explicit given it is a very -- cgit v1.2.1