-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix and simplify libGAP error handling #27155
Comments
Commit: |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
Dependencies: #26992 |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Reviewer: Erik Bray |
comment:10
Thanks for tracking that down--I didn't realize that about
The |
comment:12
I got this with all three....
For my sanity I would prefer to do any further work on a separate ticket after the three are merged, though. |
Changed branch from u/jdemeyer/simplify_libgap_error_handling to |
the usage of
PyErr_Fetch
inerror_handler()
is a memory leak: the returned objects should be deallocated (Cython does not take care of this since the type isPyObject*
as opposed toobject
).in various places in the libGAP interface, there is code of the form
It's not clear to me why we need to catch and re-raise an exception here. Instead, we are raising this exception in our
error_handler
, so we can just use a custom exception classGAPError
to make it clear that the error comes from GAP.libGAP
->GAP
in various places and removing the obsoletesrc/sage/libs/gap/test
test program.Depends on #26992
CC: @vbraun @embray
Component: interfaces
Author: Jeroen Demeyer
Branch/Commit:
494ab6d
Reviewer: Erik Bray
Issue created by migration from https://trac.sagemath.org/ticket/27155
The text was updated successfully, but these errors were encountered: