binding/query.c: use PyErr_Format instead of _PyErr_FormatFromCause
The _PyErr_FormatFromCause function is a private function, which was never documented. While it existed for a long time, it was removed in Python 3.13 https://github.com/python/cpython/issues/106320.
Use instead the public function PyErr_Format, which is also part of the stable API.
PyErr_Format does not include the cause.
PyErr_Formatdoes not include the cause.
OK, so which other function should we use? I can modify it as needed.
It's complicated. I'll look into it during the weekend.
Thank you. I leave it to your discretion if you want to just close this PR, or override it, or anything else.
Fixed in 2f7889d
@ObserverOfTime any chance cutting a new release? Thanks!
It's in v0.23.1.
sorry, I missed it, the 0.23.1 works for me, thanks!