[issue46160] IPy->IPSet AttributeError: module 'collections' has no attribute 'MutableSet'

Kumar Aditya report at bugs.python.org
Thu Dec 23 03:34:01 EST 2021


Kumar Aditya <rahuladitya303 at gmail.com> added the comment:

In Python 3.10 these deprecated aliases where removed from collections module.
To fix it you can change `collections.MutableSet` to `collections.abc.MutableSet`.

See https://docs.python.org/3/whatsnew/3.9.html#you-should-check-for-deprecationwarning-in-your-code

----------
nosy: +kumaraditya303

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46160>
_______________________________________


More information about the Python-bugs-list mailing list