Merge pull request #2476 from oulenz/collections

Try importing from collections.abc for compatibility with Python 3.8
This commit is contained in:
Justin Mayer 2019-04-25 14:05:31 +02:00 committed by GitHub
commit 24515c2cf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

View file

@ -12,7 +12,10 @@ import re
import shutil
import sys
import traceback
from collections import Hashable
try:
from collections.abc import Hashable
except ImportError:
from collections import Hashable
from contextlib import contextmanager
from functools import partial
from itertools import groupby