brennv / namedtupled

Lightweight namedtuple wrapper for attribute-style data access (a la JavaScript objects).
MIT License
49 stars 11 forks source link

Library no longer works with Python 3.10 #25

Open Beenhakker opened 2 years ago

Beenhakker commented 2 years ago

Library no longer imports correctly in Python 3.10:

from collections import Mapping, namedtuple, UserDict
ImportError: cannot import name 'Mapping' from 'collections

Mapping is moved to collections.abc