)]}'
{
  "commit": "8e1cb7f475e943491a471d4cf83f5a9a265cc824",
  "tree": "fcafb54ceee7a10ef526b08b30e7d82c7942ce63",
  "parents": [
    "71c16f112328940fa15ea814d2d4a8daedbcc3af"
  ],
  "author": {
    "name": "Steven Fontanella",
    "email": "stevenfont@google.com",
    "time": "Tue Jan 06 21:44:54 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Jan 06 21:44:54 2026"
  },
  "message": "Fix mutated default argument in roundtrip tests (#8179)\n\nThe test appends to `opts` which can refer to the default value of the\nfunction, causing future calls with the default value to be changed.\ne.g.\n\n```py\n**\u003e\u003e\u003e def f(a\u003d[]):\n...     a.append(1)\n...     print(a)\n...\n\u003e\u003e\u003e f()\n[1]\n\u003e\u003e\u003e f()\n[1, 1]\n```\nThis would cause `-g` to be added to the arguments even when\n`debug\u003dFalse`.\n\nThere are other instances that use lists as a default argument, but I\nleft them alone for now since they never mutate it.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6fe2d4fe07a005158bc655f9201805852a5ac1e4",
      "old_mode": 33188,
      "old_path": "test/unit/utils.py",
      "new_id": "b2267fc14ea8388285fea8132c6d058bdebbeb0f",
      "new_mode": 33188,
      "new_path": "test/unit/utils.py"
    }
  ]
}
