8000 gh-102515: Remove unused imports in the `Lib/` directory by AlexWaygood · Pull Request #102516 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-102515: Remove unused imports in the Lib/ directory #102516

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

Merged
merged 4 commits into from
Mar 8, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make the import in concurrent/futures/process.py more explicit
  • Loading branch information
AlexWaygood committed Mar 7, 2023
commit b3488e80b94638465171c2847bad2e43b68c1ff5
4 changes: 2 additions & 2 deletions Lib/concurrent/futures/process.py
91DA
Original file line numberDiff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from concurrent.futures import _base
import queue
import multiprocessing as mp
import multiprocessing.connection
import multiprocessing.connection as mp_connection
from multiprocessing.queues import Queue
import threading
import weakref
Expand Down Expand Up @@ -404,7 +404,7 @@ def wait_result_broken_or_wakeup(self):
wakeup_reader = self.thread_wakeup._reader
readers = [result_reader, wakeup_reader]
worker_sentinels = [p.sentinel for p in list(self.processes.values())]
ready = mp.connection.wait(readers + worker_sentinels)
ready = mp_connection.wait(readers + worker_sentinels)

cause = None
is_broken = True
Expand Down
0