diff options
| author | Anthony Sottile <asottile@umich.edu> | 2019-10-28 09:17:59 -0700 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2019-10-28 10:00:18 -0700 |
| commit | 04f49a7a777c3ceb14b8e8d5b52b12366f84f9a7 (patch) | |
| tree | d1d914f2d23dc02b6d8e65fb2330d221dcdc54f0 /docs/source | |
| parent | aa792d2930b8f6dada3f6305e8a3704d2d191005 (diff) | |
| download | flake8-04f49a7a777c3ceb14b8e8d5b52b12366f84f9a7.tar.gz | |
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.
Diffstat (limited to 'docs/source')
| -rw-r--r-- | docs/source/internal/utils.rst | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/docs/source/internal/utils.rst b/docs/source/internal/utils.rst index 31e0d39..bd1479e 100644 --- a/docs/source/internal/utils.rst +++ b/docs/source/internal/utils.rst @@ -64,12 +64,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 |
