Skip to content
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 sig_on/sig_off bugs #10061

Closed
jdemeyer opened this issue Oct 3, 2010 · 18 comments
Closed

Fix sig_on/sig_off bugs #10061

jdemeyer opened this issue Oct 3, 2010 · 18 comments

Comments

@jdemeyer
Copy link

jdemeyer commented Oct 3, 2010

Thanks to #10030, we can check for invalid uses of sig_on()/sig_off(). This ticket will collect those bugs (the bugs do not depend on #9678 or #10030, they were just found using those tickets).

Patch chain: #9678, #10061, #10258, #10030, #10018, #9640

CC: @vbraun

Component: c_lib

Keywords: interrupt

Author: Jeroen Demeyer

Reviewer: Volker Braun

Merged: sage-4.7.alpha1

Issue created by migration from https://trac.sagemath.org/ticket/10061

@jdemeyer jdemeyer added this to the sage-4.6 milestone Oct 3, 2010
@jdemeyer
Copy link
Author

Changed keywords from none to interrupt

@jdemeyer

This comment has been minimized.

@jdemeyer jdemeyer changed the title Fix _sig_on/_sig_off bugs Fix sig_on/sig_off bugs Oct 13, 2010
@jdemeyer jdemeyer modified the milestones: sage-4.6, sage-4.6.1 Oct 13, 2010
@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link
Author

Author: Jeroen Demeyer

@jdemeyer

This comment has been minimized.

@jdemeyer

This comment has been minimized.

@jdemeyer

This comment has been minimized.

@vbraun
Copy link
Member

vbraun commented Jan 21, 2011

comment:8

Looks good to me.

We (i.e. you) should document somewhere very clearly the use of

   sig_on()
   c_function()
   sig_off()

vs.

   try:
      sig_on()
      cython_function()
   finally:
      sig_off()

In any case, positive review to this ticket.

@jdemeyer
Copy link
Author

Reviewer: Volker Braun

@jdemeyer
Copy link
Author

comment:9

There is already some documentation at #10109, but you are right that it should be expanded.

@jdemeyer
Copy link
Author

jdemeyer commented Feb 4, 2011

Attachment: 10061_fix_sig_on_sig_off.patch.gz

@jdemeyer
Copy link
Author

jdemeyer commented Feb 4, 2011

comment:10

Rebased patch

@vbraun
Copy link
Member

vbraun commented Feb 4, 2011

comment:11

What did you rebase it against? Fails to apply on sage-4.6.2.alpha3

@jdemeyer
Copy link
Author

jdemeyer commented Feb 5, 2011

comment:12

Replying to @vbraun:

What did you rebase it against? Fails to apply on sage-4.6.2.alpha3

The future sage-4.6.2.alpha4 :-)

For this patch, that probably means sage-4.6.2.alpha3 + #10028.

@jdemeyer
Copy link
Author

jdemeyer commented Feb 7, 2011

comment:14

Additional patch needs review.

@jdemeyer
Copy link
Author

jdemeyer commented Feb 7, 2011

Additional patch

@vbraun
Copy link
Member

vbraun commented Feb 7, 2011

comment:16

Attachment: 10061_newforms.patch.gz

The additional patch looks good to me, too.

@jdemeyer
Copy link
Author

jdemeyer commented Mar 8, 2011

Merged: sage-4.7.alpha1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants