[issue45776] abc submodule not an attribute of collections on Python 3.10.0 on Windows

2021-11-10 Thread Steve Canny
Steve Canny added the comment: The resolution for me (the python-pptx and python-docx libraries) is clear, to add a separate `import collections.abc` statement rather than assuming (hoping) that the `collections.abc` module is available on an `abc` attribute of the `collections` module. I

[issue45776] abc submodule not an attribute of collections on Python 3.10.0 on Windows

2021-11-09 Thread Steve Canny
New submission from Steve Canny : On CPython 3.10.0 on Windows but not MacOS, AttributeError is raised when referencing `abc` on collections (instead of importing `collections.abc`). >>> import collections >>> collections.abc.Container AttributeError: module 'collec