)]}'
{
  "commit": "b4aea41d1cd0da1f34e42366d64e9e19d557eb87",
  "tree": "2c7967ec9e171298545352a74d9f2be72a106706",
  "parents": [
    "c922aa0ddd264395cd606fdfd20512fa54108cfb"
  ],
  "author": {
    "name": "Serhiy Storchaka",
    "email": "storchaka@gmail.com",
    "time": "Sat Aug 29 18:15:25 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Aug 29 18:15:25 2026"
  },
  "message": "gh-87587: Fix os.device_encoding() for any console on Windows (GH-155410)\n\nIt was hard coded to map file descriptors 0, 1 and 2 to the console code\npage, but a console can be opened as any file descriptor, and other\ncharacter devices, like NUL, are not consoles.\n\nThe file handle is now queried.  The UTF-8 code page is also now reported\nas \"utf-8\" instead of \"cp65001\".",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b21dd8a4dca6609c3c845e1068b30c23b2f52db8",
      "old_mode": 33188,
      "old_path": "Lib/test/test_os/test_windows.py",
      "new_id": "3fb8454cddfde9341b28ae0cda03f0b565610c53",
      "new_mode": 33188,
      "new_path": "Lib/test/test_os/test_windows.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "06bba3e1f3d85588d7423eb3f9ace4fe5db4229d",
      "new_mode": 33188,
      "new_path": "Misc/NEWS.d/next/Windows/2026-08-09-04-00-00.gh-issue-87587.devenc.rst"
    },
    {
      "type": "modify",
      "old_id": "5cbfd8e6ce4fa08136fb6d4866ded05e278b0dec",
      "old_mode": 33188,
      "old_path": "Python/fileutils.c",
      "new_id": "404fec83385e970169300faf1627dce0dd66a749",
      "new_mode": 33188,
      "new_path": "Python/fileutils.c"
    }
  ]
}
