You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warning regarding collections ABCs still present in 3.9 #82098
When importing an ABC from the collections module in Python 3.9 there is a warning that this is deprecated since Python 3.3 and will stop working in Python 3.9.
Should this warning be removed and lead to an ImportError?
Python 3.9.0a0 (heads/master:a38e9d1399, Aug 22 2019, 17:48:16)
[GCC 8.3.1 20190223 (Red Hat 8.3.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from collections import Sequence
<stdin>:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
Activity
MichaelAnckaert commentedon Aug 22, 2019
When importing an ABC from the collections module in Python 3.9 there is a warning that this is deprecated since Python 3.3 and will stop working in Python 3.9.
Should this warning be removed and lead to an ImportError?
vstinner commentedon Aug 22, 2019
It's a work-in-progress: see bpo-37324.
tirkarthi commentedon Aug 22, 2019
Please see discussion at bpo-36953 and bpo-37324. It's currently blocked by Jinja that doesn't have a release with the fix to be used in CI.