-
-
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
make_any_gap_element() should not be called inside sig_on(), part 2 #27374
Comments
This comment has been minimized.
This comment has been minimized.
comment:4
I also saw a different instance of this on one of the patchbots recently:
It seems a bit random, since this didn't occur on other patchbots that tested the same branch. |
New commits:
|
Commit: |
Reviewer: Jeroen Demeyer |
comment:7
A nice improvement, although still not perfect ( I'm running Don't forget to add your name as author. |
Author: Simon Brandhorst |
comment:9
Replying to @embray:
I opened #27477 for that. |
comment:11
Seems fine to me. Though I would like to clarify that I originally had the from cysignals.signals cimport sig_on, sig_off
def try_finally_example():
sig_on() # This must be OUTSIDE the try
try:
# (some long computation, potentially raising exceptions)
return something
finally:
sig_off() Perhaps Jeroen could clarify why in this case putting sig_on/off inside the |
comment:12
Replying to @embray:
The
The new macro |
comment:13
Replying to @embray:
This SIGSEGV will be seen by |
Changed branch from u/sbrandhorst/make_any_gap_element___should_not_be_called_inside_sig_on____part_2 to |
Changed commit from |
comment:15
Replying to @jdemeyer:
But what's not clear to me is why you don't need to call |
comment:16
Replying to @embray:
If
The |
Fix further
make_any_gap_element()
calls insage.libs.element
similarly to #27140.CC: @embray
Component: cython
Author: Simon Brandhorst
Branch:
46557d6
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/27374
The text was updated successfully, but these errors were encountered: