alex / rply

An attempt to port David Beazley's PLY to RPython, and give it a cooler API.
BSD 3-Clause "New" or "Revised" License
381 stars 60 forks source link

fix deprecation warning #84

Closed scottbelden closed 5 years ago

scottbelden commented 5 years ago

When running with python 3.7 I get the following deprecation warning due to the import from collections:

/usr/local/lib/python3.7/site-packages/rply/utils.py:2
  /usr/local/lib/python3.7/site-packages/rply/utils.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import MutableMapping
alex commented 5 years ago

Thanks Scott!