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
Advertise sig_check() better in the developers manual #16902
Comments
Branch: u/jdemeyer/ticket/16902 |
Commit: |
New commits:
|
comment:3
I mean, what would be the purpose of such code? If it is none, it is still interesting to mention it within a stack of calls like
I learned many things reading it! |
comment:4
Replying to @videlec:
It is completely Sage-specific, I guess other people writing Cython code do not care about interrupts. There has been talking about putting these in Cython, but that has not happened yet.
Good suggestion!
It is one of those things where, if you don't know it, you don't need to care. But I can put a link to the Cython documentation.
Because
Why is it not ugly?
If people care about Sage's wrapper, they can still figure out the implementation and can find out about |
Branch pushed to git repo; I updated commit sha1. New commits:
|
New commits:
|
comment:7
Nothing more to say. You can set to positive review or ask another signal newbie to reread it! Vincent |
Reviewer: Vincent Delecroix |
comment:9
my complaint about the change is about the line
this is too vague (and grammatically weird - it should better be Does it mean that one need reach a Python exception? Or any Python statement? |
comment:11
Replying to @dimpase:
I could change this.
I mean that Python code can sometimes raise a
But the following cannot be interrupted:
|
comment:12
Replying to @jdemeyer:
yes please.
Do you mean to say that Python won't be able to catch the interrupt in the former case, but not in the latter case (i.e. the latter loop will keep running)? |
comment:13
Replying to @dimpase:
I mean that the loop in the last case will keep running because Python doesn't check for interrupts when executing |
comment:14
Replying to @jdemeyer:
Whereas if the next statement after the latter was also cython, it would be terminated? |
comment:15
Replying to @dimpase:
No, that's not what I mean. Pure Cython statements (which do not involve Python library calls) can never be interrupted. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed reviewer from Vincent Delecroix to Vincent Delecroix, Dima Pasechnik |
comment:19
|
comment:20
Obviously :-) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed branch from u/jdemeyer/ticket/16902 to |
Built documentation |
Attachment: coding_in_cython.html.gz |
Component: documentation
Author: Jeroen Demeyer
Branch/Commit:
3a21668
Reviewer: Vincent Delecroix, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/16902
The text was updated successfully, but these errors were encountered: