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
Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated #405
The actual warning is about importing ABCs using from collections instead of collections.abc . OrderedDict and deque can still be imported from collections. from collections import ... is going away only for ABCs. The linked PR blocking CPython is about ABCs and a quick scan of the listed files tells me this is fixed in html5lib.
Activity
serhiy-storchaka commentedon Dec 20, 2018
This is a blocker for CPython: python/cpython#10596.
tirkarthi commentedon Dec 20, 2018
Seems to be a duplicate of #402 ?
labrys commentedon Dec 22, 2018
@tirkarthi Not a duplicate as the issue still exists after #402 was closed.
from collections import ...is still used in the following locations:html5lib._tokenizerhtml5lib.html5parserhtml5lib.filters.alphabeticalattributeshtml5lib.tests.test_alphabeticalattributeshtml5lib.treewalkers.etreetirkarthi commentedon Dec 22, 2018
The actual warning is about importing ABCs using
from collectionsinstead of collections.abc . OrderedDict and deque can still be imported from collections.from collections import ...is going away only for ABCs. The linked PR blocking CPython is about ABCs and a quick scan of the listed files tells me this is fixed in html5lib.labrys commentedon Dec 22, 2018
@tirkarthi you are correct... closing this