Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

> Can't we use the new shiny PEP 562 here to actually emit a warning when 
> collections.Iterable is used instead of collections.abc.Iterable?

PR 5460 implements this.

It exposes issues in third-party packages. urllib3 and pyparsing directly use 
or import ABCs from 'collections'. request and pip are indirectly affected. If 
not add these warnings in 3.7 we can break the world in 3.8.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue25988>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to