[Cython] Safer exception handling

Robert Bradshaw robertwb at gmail.com
Mon Sep 17 09:44:42 EDT 2018


One of the pain points in Cython is that one must explicitly annotate
non-object returning functions with except clauses. Would it be worth
trying to change the default here, making exception-suppressing opt-in
rather than opt-out?

There are a couple of open questions, e.g.
  * What would the syntax be?
  * What about extern functions?
  * What would the performance impact be? Could it be mitigated?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20180917/d48ac96f/attachment.html>


More information about the cython-devel mailing list