)]}'
{
  "commit": "35a000974a97248ffe4137ac01373f391cfc3728",
  "tree": "fa791e4dc132dc6f0f03461510163981e888426b",
  "parents": [
    "21a36aa79ca0b2af49995fa1b9216b01ef98f195"
  ],
  "author": {
    "name": "Victor Stinner",
    "email": "vstinner@python.org",
    "time": "Fri Oct 16 10:49:53 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Oct 16 10:49:53 2026"
  },
  "message": "Revert \"gh-158445: Allocate memory in the heap in Py_GetVersion() (#158608)\" (#159519)\n\nThis reverts commit f5e913c7f710794421e48437f45a65f190830cbf.\n\nTruncating the static buffer to 20 bytes caused a regression in debuggers\nand crash reporters checking `version` static buffer, see:\nhttps://github.com/python/cpython/pull/158608#issuecomment-6027641907",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a43298d44bdc1cf15c55f8151c308ff47142c727",
      "old_mode": 33188,
      "old_path": "Doc/c-api/interp-lifecycle.rst",
      "new_id": "7cfde5cdae6c5660830ecd53f929d70d153482af",
      "new_mode": 33188,
      "new_path": "Doc/c-api/interp-lifecycle.rst"
    },
    {
      "type": "modify",
      "old_id": "99d09c5e0d4e113f4968aebdb2c6512d706e8eda",
      "old_mode": 33188,
      "old_path": "Include/internal/pycore_pylifecycle.h",
      "new_id": "bfc94e3e8529b75951fffb5e8b0ed01195d824ca",
      "new_mode": 33188,
      "new_path": "Include/internal/pycore_pylifecycle.h"
    },
    {
      "type": "modify",
      "old_id": "d45c9dbc1c58825b6660dd69e1a789854c0d20cf",
      "old_mode": 33188,
      "old_path": "Lib/test/test_capi/test_build.py",
      "new_id": "8319ad1ec77da8104d9246eb95888450a50506e7",
      "new_mode": 33188,
      "new_path": "Lib/test/test_capi/test_build.py"
    },
    {
      "type": "modify",
      "old_id": "097c10504d69a366ca86cf8500afcfe3dd4c710e",
      "old_mode": 33188,
      "old_path": "Modules/main.c",
      "new_id": "44a025d500e35e26813dd6184d7fb15121993079",
      "new_mode": 33188,
      "new_path": "Modules/main.c"
    },
    {
      "type": "modify",
      "old_id": "baa03679d79fb84d614892a3085947dbd258d1f7",
      "old_mode": 33188,
      "old_path": "Python/getcompiler.c",
      "new_id": "cc56ad8c8955513649c223f5941c004a13920002",
      "new_mode": 33188,
      "new_path": "Python/getcompiler.c"
    },
    {
      "type": "modify",
      "old_id": "5c05b841de6fc84d77b84f783f8b7fd908c8f270",
      "old_mode": 33188,
      "old_path": "Python/getversion.c",
      "new_id": "8d8bc6ea70048c9986433f53610eeebb6d48e1b9",
      "new_mode": 33188,
      "new_path": "Python/getversion.c"
    },
    {
      "type": "modify",
      "old_id": "ba1b94c47984ab625e4d1f98f827d4c23f71b33e",
      "old_mode": 33188,
      "old_path": "Python/pylifecycle.c",
      "new_id": "8888f523559123ac0f6d7233bd4dcd90a8474a56",
      "new_mode": 33188,
      "new_path": "Python/pylifecycle.c"
    },
    {
      "type": "modify",
      "old_id": "5529a52b0c45c26950c290eb5f96c8daa6999878",
      "old_mode": 33188,
      "old_path": "Tools/c-analyzer/cpython/ignored.tsv",
      "new_id": "db9f74fdbc591f06bf64f6585e80ffa2230a7d9e",
      "new_mode": 33188,
      "new_path": "Tools/c-analyzer/cpython/ignored.tsv"
    }
  ]
}
