Skip to content

Commit

Permalink
Revert "Fix segfault with error report in FITS compression"
Browse files Browse the repository at this point in the history
This reverts commit 4de4877.
  • Loading branch information
astrofrog committed Oct 19, 2023
1 parent e99d983 commit b8e4893
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions astropy/io/fits/hdu/compressed/src/compression.c
Expand Up @@ -90,10 +90,7 @@ PyInit__compression(void)
// cfitsio call. In our wrapper functions we can then check if the Python error
// state is set and then return NULL to raise the error.
void ffpmsg(const char *err_message) {
PyGILState_STATE gstate;
gstate = PyGILState_Ensure();
PyErr_SetString(CfitsioException, err_message);
PyGILState_Release(gstate);
}

/* PLIO/IRAF compression */
Expand Down
1 change: 0 additions & 1 deletion docs/changes/io.fits/15489.bugfix.rst

This file was deleted.

0 comments on commit b8e4893

Please sign in to comment.