)]}'
{
  "commit": "5a5f21deb6c1dbfe8fc36547419d188ce7ab30cc",
  "tree": "9e6e01e69e8a937dfdda21fa935b2e76d689ebbc",
  "parents": [
    "00a9c6244ca6213cf47ba4dd74654ca93fdfedbb"
  ],
  "author": {
    "name": "Matthias Klumpp",
    "email": "matthias@tenstral.net",
    "time": "Sat May 16 20:28:05 2026 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat May 16 11:28:05 2026 -0700"
  },
  "message": "fix: Invert input/output context if a Python function is called from C++ (#6055)\n\nWhen the Callable itself is an input (parameter) to a C++ function, its\narguments are outputs (C++ passes them to the Python callback), and vice\nversa.\nTherefore, we must invert them if C++ calls a Python function, but keep\nthem the same in the other direction.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "701662c4cfdfc0dd31cd3866ea5ed4793aec9f2b",
      "old_mode": 33188,
      "old_path": "include/pybind11/detail/descr.h",
      "new_id": "4f5ae34fc8243c6066eccc8d1b099f029c0056c3",
      "new_mode": 33188,
      "new_path": "include/pybind11/detail/descr.h"
    },
    {
      "type": "modify",
      "old_id": "8f59f5fe5e4e96d0736bb9d035714e1ce55ca59b",
      "old_mode": 33188,
      "old_path": "include/pybind11/functional.h",
      "new_id": "c7122795ad98cbf64e637638d58e14b15c4f0d2f",
      "new_mode": 33188,
      "new_path": "include/pybind11/functional.h"
    },
    {
      "type": "modify",
      "old_id": "12c0cd65a2c1a830cd655ab4f63c269b832d187b",
      "old_mode": 33188,
      "old_path": "include/pybind11/pybind11.h",
      "new_id": "9cc45bdbdc1df21404c64d8d39a0e5f578243f07",
      "new_mode": 33188,
      "new_path": "include/pybind11/pybind11.h"
    },
    {
      "type": "modify",
      "old_id": "43e2187b9e7c9554c5ecb520fb978857c513572b",
      "old_mode": 33188,
      "old_path": "include/pybind11/typing.h",
      "new_id": "4b027dbfea0440a26545c2c90942fd6a734f69d3",
      "new_mode": 33188,
      "new_path": "include/pybind11/typing.h"
    },
    {
      "type": "modify",
      "old_id": "327e41eb33229db19a9bae8cebd742ff8c256682",
      "old_mode": 33188,
      "old_path": "tests/test_callbacks.py",
      "new_id": "1c3117041bb5351d17f7bacec668f9a528e7de5c",
      "new_mode": 33188,
      "new_path": "tests/test_callbacks.py"
    },
    {
      "type": "modify",
      "old_id": "580371f02deaa6658b08c61f0de5f608d679e06f",
      "old_mode": 33188,
      "old_path": "tests/test_pytypes.py",
      "new_id": "9a80f1ea4152102dab39e7f8b9d3f2170d5d56b5",
      "new_mode": 33188,
      "new_path": "tests/test_pytypes.py"
    }
  ]
}
