sagemath / cysignals

cysignals: interrupt and signal handling for Cython. Source repository for https://pypi.org/project/cysignals/
GNU Lesser General Public License v3.0
43 stars 23 forks source link

Compare sig_check() with PyErr_CheckSignals()? #145

Open anntzer opened 3 years ago

anntzer commented 3 years ago

I realize that cysignals provides a lot more than just sig_check(), but focusing one just that specific feature: it is unclear to me what is the benefit of sig_check() as opposed to just calling PyErr_CheckSignals()? Perhaps the differences could be noted in the docs? Thanks in advance for the clarification.