Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1462

ABCs from collections must be imported from collections.abc

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 3.6.1
    • None
    • None

    Description

      See this warning, new in Python 3.7:

      https://github.com/python/cpython/blob/c66f9f8d3909f588c251957d499599a1680e2320/Lib/collections/__init__.py#L49-L52

      Change all direct ABC imports from collections to collections.abc, when available (Python3).

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: