$SITE_PYTHON/lib/python3.7/site-packages/elftools/construct/lib/container.py:5
Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
This change is compatible with Python 3.3 and up, when the ABCs were
moved to collections.abc. Backward compatibility is retained through
the try/except block.
Various containers.
"""
-from collections import MutableMapping
from pprint import pformat
+from .py3compat import MutableMapping
def recursion_lock(retval, lock_name = "__recursion_lock__"):
def decorator(func):
import sys
PY3 = sys.version_info[0] == 3
+try:
+ from collections.abc import MutableMapping # python >= 3.3
+except ImportError:
+ from collections import MutableMapping # python < 3.3
+
if PY3:
import io