alexmojaki / cheap_repr

Better version of repr/reprlib for short, cheap string representations in Python
MIT License
23 stars 5 forks source link

collections.abc deprecations for Python 3.8 #11

Closed KyleKing closed 4 years ago

KyleKing commented 4 years ago

I saw these deprecation warnings and figured I would share. There is also one on snoop (https://github.com/alexmojaki/snoop/issues/22)

.venv\lib\site-packages\cheap_repr\__init__.py:337
  C:\project\.venv\lib\site-packages\cheap_repr\__init__.py:337: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    @register_repr(collections.Set)

.venv\lib\site-packages\cheap_repr\__init__.py:559
  C:\project\.venv\lib\site-packages\cheap_repr\__init__.py:559: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    @register_repr(collections.Mapping)