)]}'
{
  "commit": "ff287a72de43e7fc6517aba9049cb23470e000b2",
  "tree": "61267581818a170a7dbe8091a29001bef9aab9b1",
  "parents": [
    "dc24b8a6d42231ebc821baeda662e1168b52aa26"
  ],
  "author": {
    "name": "Michiel W. Beijen",
    "email": "mb@x14.nl",
    "time": "Tue Mar 17 17:01:18 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Mar 17 17:01:18 2026"
  },
  "message": "gh-144975: Fix wave.Wave_write.setframerate() validation order (GH-144976)\n\nValidate the frame rate after rounding to an integer, not before.\nThis prevents values like 0.5 from passing validation (0.5 \u003e 0)\nbut then rounding to 0, which would cause a confusing delayed error\n\"sampling rate not specified\" when writing frames.\n\nWith this fix, setframerate(0.5) immediately raises \"bad frame rate\",\nproviding clear feedback at the point of the error.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4c21f16553775cc0b1e77d9f128acbd609433f0d",
      "old_mode": 33188,
      "old_path": "Lib/test/test_wave.py",
      "new_id": "05e7d377517798f70c8532ccdd6f17442dad4d29",
      "new_mode": 33188,
      "new_path": "Lib/test/test_wave.py"
    },
    {
      "type": "modify",
      "old_id": "25ca9ef168e8a539256ec4326bb7b0425690a565",
      "old_mode": 33188,
      "old_path": "Lib/wave.py",
      "new_id": "841da8c49e9a2fe6a1e478e870297e9aea76cba3",
      "new_mode": 33188,
      "new_path": "Lib/wave.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "37658064c2c35158800615203d1c8324f3494aac",
      "new_mode": 33188,
      "new_path": "Misc/NEWS.d/next/Library/2026-02-18-21-45-00.gh-issue-144975.Ab3XyZ.rst"
    }
  ]
}
