You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix deprecated PyErr_Fetch/PyErr_Restore in close_file_callback
Replace deprecated PyErr_Fetch/PyErr_Restore (deprecated in Python 3.12)
with PyErr_GetRaisedException/PyErr_SetRaisedException on Python 3.12+,
while keeping backward compatibility with older versions via #if guard.
Closes part of #31424
0 commit comments