Re: [Cython] Safer exception handling

2018-09-19 Thread Stefan Behnel
Robert Bradshaw schrieb am 17.09.2018 um 15:44: > 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

[Cython] Preparing the language level change - Re: [cython-users] Cython 0.29 beta 1 released

2018-09-19 Thread Stefan Behnel
Jeroen Demeyer schrieb am 18.09.2018 um 10:23: > On 2018-09-16 17:48, Stefan Behnel wrote: >> * Cython now emits a warning when no ``language_level`` (2 or 3) is set >>    explicitly > > Currently, language_level=3 breaks a lot of code due to unicode_literals. > As I mentioned a few times, it woul

Re: [Cython] Safer exception handling

2018-09-19 Thread Robert Bradshaw
On Wed, Sep 19, 2018, 5:04 PM Stefan Behnel wrote: > Robert Bradshaw schrieb am 17.09.2018 um 15:44: > > 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 ex