)]}'
{
  "commit": "b28571d12f3b28d2ddb2f4225f1b9f4a078725f5",
  "tree": "d415148197d39079ce87cf3ee8ad7ac270fc59c9",
  "parents": [
    "fb08d9fe837ab64934e6ddc66d442e599c805ca4"
  ],
  "author": {
    "name": "Chun-wei Fan",
    "email": "fanchunwei@src.gnome.org",
    "time": "Tue Mar 30 16:11:13 2021 +0800"
  },
  "committer": {
    "name": "Chun-wei Fan",
    "email": "fanchunwei@src.gnome.org",
    "time": "Tue Mar 30 16:11:13 2021 +0800"
  },
  "message": "python: Port python 3.x module to Windows\n\nOn Windows, we don\u0027t have fcntl() which helps us to find out how a file was\nopened, so we need to resort to the Windows API NtQueryInformationFile() in\nntdll.dll to help us, and compare the file access modes as appropriate to\ndeduce the modes we want to pass into fdopen().\n\nAs all official Python 3.x releases are built against newer Windows CRTs that\ntoughen checks on the validity of the file descriptor when we convert the fd to\na native Windows File Handle using _get_osfhandle(), we need to define an empty\nhandler so that the program does not abort if the fd that was passed in was\ninvalid; instead, we just return NULL if _get_osfhandle() could not return us a\nvalid Windows File Handle.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ed284ec741a545c854075cee815a02a1572f90dd",
      "old_mode": 33188,
      "old_path": "python/types.c",
      "new_id": "7728d389f6b39917f86c613e5227c1f235840dde",
      "new_mode": 33188,
      "new_path": "python/types.c"
    }
  ]
}
