]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-114807: multiprocessing: don't raise ImportError if _multiprocessing is missing...
authorHood Chatham <roberthoodchatham@gmail.com>
Sun, 11 Feb 2024 09:59:50 +0000 (01:59 -0800)
committerGitHub <noreply@github.com>
Sun, 11 Feb 2024 09:59:50 +0000 (01:59 -0800)
commit4b75032c88046505cad36157aa94a41fd37638f4
treeee2c7fb2553a4c2bbfa61c95caff015adb572192
parent1b895914742d20ccebd1b56b1b0936b7e00eb95e
gh-114807: multiprocessing: don't raise ImportError if _multiprocessing is missing (#114808)

`_multiprocessing` is only used under the `if _winapi:` block, this moves the import to be within the `_winapi` ImportError handling try/except for equivalent treatment.
Lib/multiprocessing/connection.py