)]}'
{
  "commit": "b1b8962443e7d418601658a4b05347a5a9161910",
  "tree": "9ecb32485011e518b2cb55fa7c944451231591b9",
  "parents": [
    "a66bae8bb52721ea597ade6222f83876f9e939ba"
  ],
  "author": {
    "name": "Yuichiro Tachibana (Tsuchiya)",
    "email": "t.yic.yt@gmail.com",
    "time": "Thu May 22 00:18:00 2025"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu May 22 00:18:00 2025"
  },
  "message": "gh-127960 Fix the REPL to set the correct namespace by setting the correct `__main__` module (gh-134275)\n\nThe `__main__` module imported in the `_pyrepl` module points to the `_pyrepl` module itself when the interpreter was launched without `-m` option and didn\u0027t execute a module,\nwhile it\u0027s an unexpected behavior that `__main__` can be `_pyrepl` and relative imports such as `from . import *` works based on the `_pyrepl` module.\n\nCo-authored-by: Łukasz Langa \u003clukasz@langa.pl\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9aafb55090e2ce1c3e49078b6da296c8b904bbbf",
      "old_mode": 33188,
      "old_path": "Lib/_pyrepl/_module_completer.py",
      "new_id": "494a501101a9b296dc8077480cbd9c91f6a5ea53",
      "new_mode": 33188,
      "new_path": "Lib/_pyrepl/_module_completer.py"
    },
    {
      "type": "modify",
      "old_id": "a6f824dcc4ad14043a0fb4b10cd57e6c83c01cdc",
      "old_mode": 33188,
      "old_path": "Lib/_pyrepl/main.py",
      "new_id": "447eb1e551e7743c42efbfffead65f3d47a59252",
      "new_mode": 33188,
      "new_path": "Lib/_pyrepl/main.py"
    },
    {
      "type": "modify",
      "old_id": "560a9db192169e1c39b5bf9442ddf41cdd18402a",
      "old_mode": 33188,
      "old_path": "Lib/_pyrepl/readline.py",
      "new_id": "572eee520e53f3ba27238bb6d189f6c1e050eeb1",
      "new_mode": 33188,
      "new_path": "Lib/_pyrepl/readline.py"
    },
    {
      "type": "modify",
      "old_id": "9b6e80fdad974700c2cafc714e8112bcc3e6470e",
      "old_mode": 33188,
      "old_path": "Lib/test/support/__init__.py",
      "new_id": "b7cd7940eb15b34d932467b510604268116f51d5",
      "new_mode": 33188,
      "new_path": "Lib/test/support/__init__.py"
    },
    {
      "type": "modify",
      "old_id": "29762232d43b890a8943f74c4b7eb9d7d47de8ae",
      "old_mode": 33188,
      "old_path": "Lib/test/test_pyrepl/test_pyrepl.py",
      "new_id": "abb4bd1bc25fb11b381a829541009087a328b73d",
      "new_mode": 33188,
      "new_path": "Lib/test/test_pyrepl/test_pyrepl.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "730d8a5af51f54dd0e22cf95ffa5013d64c4237b",
      "new_mode": 33188,
      "new_path": "Misc/NEWS.d/next/Core_and_Builtins/2025-05-21-18-02-56.gh-issue-127960.W3J_2X.rst"
    },
    {
      "type": "modify",
      "old_id": "2be194bdadf7d03fd23f05ad0b78b58f6b33ff92",
      "old_mode": 33188,
      "old_path": "Modules/main.c",
      "new_id": "2d7ed25f5f979005ccea55c7d39ae01ad3e5ca79",
      "new_mode": 33188,
      "new_path": "Modules/main.c"
    }
  ]
}
