mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Remove unused or redundant imports in concurrent.futures and multiprocessing.
This commit is contained in:
parent
f8240d6564
commit
04842a84c3
12 changed files with 7 additions and 28 deletions
|
@ -36,7 +36,6 @@ import functools
|
|||
import itertools
|
||||
import weakref
|
||||
import atexit
|
||||
import select
|
||||
import threading # we want threading to install it's
|
||||
# cleanup function before multiprocessing does
|
||||
|
||||
|
@ -86,7 +85,7 @@ def get_logger():
|
|||
Returns logger used by multiprocessing
|
||||
'''
|
||||
global _logger
|
||||
import logging, atexit
|
||||
import logging
|
||||
|
||||
logging._acquireLock()
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue