This starts warning in Python 3.7, and will break in 3.8. The import
is performed in a curious place because import collections.abc
explodes badly on Python 2.7, and from collections import abc flunks
our import checker.
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Could be either import collections.abc or adding collections.abc to
list_stdlib_modules.
Comment Actions
Sadly, neither worked :(
The import checker currently bans /all/ from ... import ... statements on stdlib modules (sigh, probably my fault), and import collections.abc goes sideways on Python 2. What I've done seems to work though...