8000 Fix errors with multiprocessing by 2xB · Pull Request #521 · python/importlib_metadata · GitHub
[go: up one dir, main page]

Skip to content

Fix errors with multiprocessing #521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix errors with multiprocessing #521

wants to merge 1 commit into from

Conversation

2xB
Copy link
@2xB 2xB commented Jun 8, 2025

Before, one could get OSError 22 and BadZipFile errors due to re-used file pointers in forked subprocesses.

This implements the fix recommended by @anntzer .

Fixes #520

Before, one could get OSError 22 and BadZipFile errors due to re-used file pointers in forked subprocesses.

Fixes python#520
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issues when combined with multiprocessing (MaybeEncodingError, BadZipFile, OSError)
1 participant
0