This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stcanny
Recipients paul.moore, stcanny, steve.dower, tim.golden, zach.ware
Date 2021-11-10.06:54:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636527276.55.0.818316908818.issue45776@roundup.psfhosted.org>
In-reply-to
Content
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 'collections' has no attribute 'abc'

This works on MacOS CPython 3.10.0 and also works on Windows CPython 3.9.6.

It's possibly interesting this coincides with collection ABCs being made unavailable directly from `collections` with this 3.9 -> 3.10 version change, but that's just a guess, for whatever it's worth.
History
Date User Action Args
2021-11-10 06:54:36stcannysetrecipients: + stcanny, paul.moore, tim.golden, zach.ware, steve.dower
2021-11-10 06:54:36stcannysetmessageid: <1636527276.55.0.818316908818.issue45776@roundup.psfhosted.org>
2021-11-10 06:54:36stcannylinkissue45776 messages
2021-11-10 06:54:36stcannycreate