)]}'
{
  "commit": "c0da582b227f311126e278b5553a7fa89c79b054",
  "tree": "9b858acb418f0a5225146bfc2c78638ccb84b3ac",
  "parents": [
    "026337a7101369297c8083047d2f3c6fc9dd1e2b"
  ],
  "author": {
    "name": "Nathaniel J. Smith",
    "email": "njs@pobox.com",
    "time": "Sat Sep 22 04:44:12 2018"
  },
  "committer": {
    "name": "Miss Islington (bot)",
    "email": "31488909+miss-islington@users.noreply.github.com",
    "time": "Sat Sep 22 04:44:12 2018"
  },
  "message": "bpo-34759: Fix error handling in ssl \u0027unwrap()\u0027 (GH-9468)\n\n\n\nOpenSSL follows the convention that whenever you call a function, it\nreturns an error indicator value; and if this value is negative, then\nyou need to go look at the actual error code to see what happened.\n\nCommit c6fd1c1c3a introduced a small mistake in\n_ssl__SSLSocket_shutdown_impl: instead of checking whether the error\nindicator was negative, it started checking whether the actual error\ncode was negative, and it turns out that the error codes are never\nnegative. So the effect was that \u0027unwrap()\u0027 lost the ability to raise\nSSL errors.\n\n\nhttps://bugs.python.org/issue34759",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e120a2f9adf22e3e7f97f6b13c479170a050d1ce",
      "old_mode": 33188,
      "old_path": "Lib/test/test_ssl.py",
      "new_id": "b4cafc15c5cdcbde94c1e175a891f02e51f473ea",
      "new_mode": 33188,
      "new_path": "Lib/test/test_ssl.py"
    },
    {
      "type": "modify",
      "old_id": "4750b930c642930ad351a3265ccac80c5fca7236",
      "old_mode": 33188,
      "old_path": "Modules/_ssl.c",
      "new_id": "5b5d7dd445d27bb8dd95667876e667c2f87e5596",
      "new_mode": 33188,
      "new_path": "Modules/_ssl.c"
    }
  ]
}
