Skip to content
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

Import from collections.abc #2938

Merged
merged 1 commit into from Aug 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion distributed/client.py
@@ -1,5 +1,6 @@
import atexit
from collections import defaultdict, Iterator
from collections import defaultdict
from collections.abc import Iterator
from concurrent.futures import ThreadPoolExecutor, CancelledError
from concurrent.futures._base import DoneAndNotDoneFutures
from contextlib import contextmanager
Expand Down
2 changes: 1 addition & 1 deletion distributed/publish.py
@@ -1,4 +1,4 @@
from collections import MutableMapping
from collections.abc import MutableMapping

from .utils import log_errors, tokey

Expand Down
3 changes: 2 additions & 1 deletion distributed/scheduler.py
@@ -1,5 +1,6 @@
import asyncio
from collections import defaultdict, deque, OrderedDict, Mapping, Set
from collections import defaultdict, deque, OrderedDict
from collections.abc import Mapping, Set
from datetime import timedelta
from functools import partial
import itertools
Expand Down
2 changes: 1 addition & 1 deletion distributed/tests/test_as_completed.py
@@ -1,5 +1,5 @@
from concurrent.futures import CancelledError
from collections import Iterator
from collections.abc import Iterator
from operator import add
import queue
import random
Expand Down
3 changes: 2 additions & 1 deletion distributed/worker.py
@@ -1,6 +1,7 @@
import asyncio
import bisect
from collections import defaultdict, deque, MutableMapping
from collections import defaultdict, deque
from collections.abc import MutableMapping
from datetime import timedelta
import heapq
import logging
Expand Down