)]}'
{
  "commit": "99117da02050edef2802322031eac9c40cfc1872",
  "tree": "a3d3de03cfbe932ffd61d2e0e51c3dcd8722138c",
  "parents": [
    "f00aa6fe079a77e2cf9a114ebafb3847d75e72cc"
  ],
  "author": {
    "name": "Henry Schreiner",
    "email": "HenrySchreinerIII@gmail.com",
    "time": "Wed Jun 17 08:16:04 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Jun 17 08:16:04 2026 -0400"
  },
  "message": "chore(eval): drop Python 2 coding cookie prepended to evaluated source (#6089)\n\nThe `# -*- coding: utf-8 -*-` line prepended to every string passed to\nPyRun_String was a Python 2 workaround. Python 3\u0027s PyRun_String already\nassumes UTF-8 source encoding, so the cookie is dead weight — and\nharmful: it shifts all line numbers up by one in tracebacks and\nSyntaxErrors from evaluated code (a `raise` on line 2 would incorrectly\nappear as line 3).\n\nRemove the cookie and replace the stale comment with one that explains\nthe actual reason for the `std::string` conversion (need a C string for\nPyRun_String). No other location in eval.h uses this pattern\n(eval_file reads directly from a FILE*).\n\nAssisted-by: ClaudeCode:claude-fable-5",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a588729182f5bb21f34c23334af73f87f7f6eca3",
      "old_mode": 33188,
      "old_path": "include/pybind11/eval.h",
      "new_id": "ee24fd3584ad9a5811ef07e8509c6986cc787ee2",
      "new_mode": 33188,
      "new_path": "include/pybind11/eval.h"
    }
  ]
}
