)]}'
{
  "commit": "9959328b41ee577c6f14e3a0184b07dd0ecadb8c",
  "tree": "c7be6a00cc27b5053046f4c03ed850067441a13b",
  "parents": [
    "ccc40f3e2ba384858c0d32263ac3e3a6626ab15e"
  ],
  "author": {
    "name": "Florian Bruhin",
    "email": "git@the-compiler.org",
    "time": "Wed Jun 27 14:50:15 2018 +0200"
  },
  "committer": {
    "name": "Ingy döt Net",
    "email": "ingy@ingy.net",
    "time": "Wed Feb 27 18:06:38 2019 -0800"
  },
  "message": "Import Hashable from collections.abc\n\nIn Python 3.7, importing ABCs directly from the \u0027collections\u0027 module shows a\nwarning (and in Python 3.8 it will stop working) - see\nhttps://github.com/python/cpython/commit/c66f9f8d3909f588c251957d499599a1680e2320\n\nSince this is only done in lib3/ which is Python 3 only, we can unconditionally\nimport it from collections.abc instead.\n\nThis fixes the following DeprecationWarning:\n\n.../site-packages/yaml/__init__.py:75: in load\n    return loader.get_single_data()\n.../site-packages/yaml/constructor.py:37: in get_single_data\n    return self.construct_document(node)\n.../site-packages/yaml/constructor.py:46: in construct_document\n    for dummy in generator:\n.../site-packages/yaml/constructor.py:398: in construct_yaml_map\n    value \u003d self.construct_mapping(node)\n.../site-packages/yaml/constructor.py:204: in construct_mapping\n    return super().construct_mapping(node, deep\u003ddeep)\n.../site-packages/yaml/constructor.py:126: in construct_mapping\n    if not isinstance(key, collections.Hashable):\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nname \u003d \u0027Hashable\u0027\n\n    def __getattr__(name):\n        # For backwards compatibility, continue to make the collections ABCs\n        # through Python 3.6 available through the collections module.\n        # Note, no new collections ABCs were added in Python 3.7\n        if name in _collections_abc.__all__:\n            obj \u003d getattr(_collections_abc, name)\n            import warnings\n            warnings.warn(\"Using or importing the ABCs from \u0027collections\u0027 instead \"\n                          \"of from \u0027collections.abc\u0027 is deprecated, \"\n                          \"and in 3.8 it will stop working\",\n\u003e                         DeprecationWarning, stacklevel\u003d2)\nE           DeprecationWarning: Using or importing the ABCs from \u0027collections\u0027 instead of from \u0027collections.abc\u0027 is deprecated, and in 3.8 it will stop working\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "981543aebb19de3e1dc7a07ad59186c407bb1c35",
      "old_mode": 33188,
      "old_path": "lib3/yaml/constructor.py",
      "new_id": "193d91d9d43b69f9bd808850091818fed0eae066",
      "new_mode": 33188,
      "new_path": "lib3/yaml/constructor.py"
    }
  ]
}
