Re: [Cython] Safer exception handling

2018-09-18 Thread Robert Bradshaw
On Tue, Sep 18, 2018, 10:12 AM Jeroen Demeyer wrote: > On 2018-09-17 15:44, Robert Bradshaw wrote: > > 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 exce

Re: [Cython] Safer exception handling

2018-09-18 Thread Jeroen Demeyer
On 2018-09-17 15:44, Robert Bradshaw wrote: 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? Just to clarify thi

Re: [Cython] Safer exception handling

2018-09-18 Thread Jeroen Demeyer
On 2018-09-17 15:44, Robert Bradshaw wrote: 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 o