-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
[QUESTION] What's the difference between sig_on
inside try:
block versus sig_on_no_except
?
#205
Comments
In both chunks, something is off. Do you mean to catch |
Sorry, I don't understand what is off. (Maybe it's the Anyway in the both case I just want to make sure the data is freed. I immediately re-raise the interrupt afterwards. |
it might help to have pseudocode for what the code is meant to do |
I already put the pseudocode in the first post. If seeing actual code helps with your understanding more, replace |
I benchmarked and conclude https://gist.github.com/user202729/52b0c7134ea34f78a4416cd19e28e578 Nevertheless, is there a point in
Did I overlook something? Or is it simply because the author of |
Looking at the documentation, the following options appear to be functionally the same:
and
and
Is there any difference? If not, then what's the advantage of
sig_on_no_except()
?The text was updated successfully, but these errors were encountered: