)]}'
{
  "commit": "a581ca2516b78293cf40509b65845dd89339f2c6",
  "tree": "649bd59984c67ca3c31cee5941648e4fa3a2ab32",
  "parents": [
    "faf0ae64516b53ada65e162e38466c6c173683cd"
  ],
  "author": {
    "name": "Henry Schreiner",
    "email": "HenrySchreinerIII@gmail.com",
    "time": "Sat Oct 31 17:01:01 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Oct 31 14:01:01 2026 -0700"
  },
  "message": "refactor: use PyThreadState_GetInterpreter() instead of tstate-\u003einterp (#6230)\n\n* refactor: use PyThreadState_GetInterpreter() instead of tstate-\u003einterp\n\nPyThreadState is opaque under the stable ABI; the accessor function is\npublic since Python 3.9. Older PyPy (e.g. 7.3.19 / PyPy 3.10) does not\nprovide it, so PyPy keeps reading tstate-\u003einterp.\n\nSee https://github.com/pybind/pybind11/discussions/6104 (B8).\n\nAssisted-by: ClaudeCode:claude-opus-5-5\n\n* refactor: limit interpreter accessor fallback to PyPy before 8.0\n\n— codex GPT-6 on behalf of Ralf —\n\nKeep direct thread-state field access for PyPy 7.x, since some releases\nlack PyThreadState_GetInterpreter. Use the public accessor on PyPy 8.x,\nwhere it is available for both supported Python versions.\n\n---------\n\nCo-authored-by: Ralf W. Grosse-Kunstleve \u003crgrossekunst@nvidia.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cf546db43fa29ed77d6ee8bcdb5f0aacaf75b073",
      "old_mode": 33188,
      "old_path": "include/pybind11/detail/internals.h",
      "new_id": "76bb3827a3a2e25f62ba9b2f03d564617a154e3b",
      "new_mode": 33188,
      "new_path": "include/pybind11/detail/internals.h"
    },
    {
      "type": "modify",
      "old_id": "f1e4e443616bc1bad3dfa47ae0b8c7078c2ae685",
      "old_mode": 33188,
      "old_path": "include/pybind11/subinterpreter.h",
      "new_id": "274de54b06f4e0c6c6883270b3ebf414b55781b4",
      "new_mode": 33188,
      "new_path": "include/pybind11/subinterpreter.h"
    }
  ]
}
