[issue36265] Remove ABCs from collections

2021-06-25 Thread Irit Katriel


Irit Katriel  added the comment:

This was updated in later 3.8.X versions:

https://github.com/python/cpython/blob/71ba16b21cb35923098026117b5e6d823c5f5707/Lib/collections/__init__.py#L49

warnings.warn("Using or importing the ABCs from 'collections' instead "
"of from 'collections.abc' is deprecated since Python 3.3, "
"and in 3.10 it will stop working",
DeprecationWarning, stacklevel=2)

--
nosy: +iritkatriel
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36265] Remove ABCs from collections

2019-03-11 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Please see https://github.com/python/cpython/pull/10596 . pip is incompatible 
with this change.

--
nosy: +serhiy.storchaka, xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36265] Remove ABCs from collections

2019-03-11 Thread Jakub Wilk


New submission from Jakub Wilk :

This happens with Python from git master (d9bd8ec2a4):

>>> from collections import Hashable
:1: DeprecationWarning: Using or importing the ABCs from 
'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it 
will stop working

I was already already using Python 3.8, so I expected the import to fail,
as promised in the warning message.

--
components: Library (Lib)
messages: 337688
nosy: jwilk
priority: normal
severity: normal
status: open
title: Remove ABCs from collections
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com