Re: [Cython] Cython 3.0 and "unicode_literals"

2018-09-17 Thread Robert Bradshaw
On Sun, Sep 16, 2018 at 5:24 PM Stefan Behnel wrote: > Jeroen Demeyer schrieb am 22.08.2018 um 13:10: > > On 2018-08-19 08:26, Stefan Behnel wrote: > >> Should we make that a new directive rather than a language level? Like > >> "py2_str=str"? That would allow its use together with language_level

[Cython] Safer exception handling

2018-09-17 Thread Robert Bradshaw
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 synt

Re: [Cython] Safer exception handling

2018-09-17 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