Created attachment 1937241 [details] Patch for fix. See patch for fix.
Upstream has no public bug tracker so tracking here.
Sam James writes in https://gitlab.com/fweimer-rh/fedora-modernc/-/commit/ae4389b7b2fa1e9a3fe627eb4f5f58bbfdf57b11#note_1238296410: fwiw I sent my version upstream a few months ago via email which glaubitz acknowledged, just doesn't seem to have made it into their repo yet. Not sure if forgot or just planned to push with other bits.