collections.abc import doesnt exist in python 2
techalchemy opened this issue · comments
Need to use collections.Set
instead of collections.abc.Set
... maybe this time i will put this on the right project
OTOH collection.Set
(other ABC imports too) is deprecated in recent Python versions. Under the best circumstances six should put this in a moves
module, but alas. The best approach is probably providing a try-except-ImportError shim.
yeah I just added the move to Six no big deal
six.add_move(six.MovedAttribute("Set", "collections", "collections.abc"))
from six.moves import Set