)]}'
{
  "commit": "1e43d5458e3342e7644bc3b9b4ef61c38a17da7a",
  "tree": "9bff7f6a05516dc2ec18e71b7a430315a4397ecd",
  "parents": [
    "8d489e22066e5bc3770151f87a2b09c79fba739c"
  ],
  "author": {
    "name": "Shogo Yamazaki",
    "email": "f9ifphmiz7i8akhowc8l5t1x9qp0lfu4@mocknen.net",
    "time": "Tue Aug 18 06:18:24 2026 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Aug 17 23:18:24 2026 +0200"
  },
  "message": "Fix Python HAL device creation params only last one used (#24812)\n\nWhile using the Python bindings for the IREE runtime, I noticed that\nonly the last key-value pair in the dictionary passed as the `params`\nargument to HalDriver\u0027s `create_device` method is actually consumed.\n\nIn the code below, pointers created using `c_str()` from the elements of\n`param_strings` are stored in `passed_params`, but the issue is that if\n`param_strings` is reallocated, those pointers become invalid.\n\n\nhttps://github.com/iree-org/iree/blob/3c2a79f36e8b3333ffebb55c4afef1798581ccb5/runtime/bindings/python/hal.cc#L1133-L1145\n\nIn this PR, prevent reallocation by reserving the necessary space for\n`param_strings` in advance.\n\nSigned-off-by: Shogo Yamazaki \u003cpgp@mocknen.net\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e19c85769e9ba2e220d6568dc0e49b06cf0192b1",
      "old_mode": 33188,
      "old_path": "runtime/bindings/python/hal.cc",
      "new_id": "d6d7a913322ef0b23f6e0656b4b93a5c009196ed",
      "new_mode": 33188,
      "new_path": "runtime/bindings/python/hal.cc"
    }
  ]
}
