In Python 3.3 \"abstract base classes\" in collections (like MutableMapping or MutableSequence) were moved to second-level module
collections
MutableMapping
MutableSequence
One way to solve this is to simply try to get abc from collections, else assume the members of abc are already in collections.
abc
import collections collections_abc = getattr(collections, 'abc', collections)