Re: [Cython] Changing the default value of exception propagation

2017-01-06 Thread Stefan Behnel
Robert Bradshaw schrieb am 05.01.2017 um 19:12: > On Thu, Jan 5, 2017 at 2:31 AM, Stefan Behnel wrote: >> Robert Bradshaw schrieb am 04.01.2017 um 07:46: >>> By default a cdef (or cpdef) function returning C type suppresses all >>> exceptions, which is quite surprising to new (and old) users, and

Re: [Cython] Changing the default value of exception propagation

2017-01-05 Thread Robert Bradshaw
On Thu, Jan 5, 2017 at 2:31 AM, Stefan Behnel wrote: > Hi Robert! > > Robert Bradshaw schrieb am 04.01.2017 um 07:46: >> By default a cdef (or cpdef) function returning C type suppresses all >> exceptions, which is quite surprising to new (and old) users, and >> makes

Re: [Cython] Changing the default value of exception propagation

2017-01-05 Thread Stefan Behnel
Hi Robert! Robert Bradshaw schrieb am 04.01.2017 um 07:46: > By default a cdef (or cpdef) function returning C type suppresses all > exceptions, which is quite surprising to new (and old) users, and > makes debugging difficult. I would propose that we make exception > propagation the default. >

[Cython] Changing the default value of exception propagation

2017-01-03 Thread Robert Bradshaw
By default a cdef (or cpdef) function returning C type suppresses all exceptions, which is quite surprising to new (and old) users, and makes debugging difficult. I would propose that we make exception propagation the default. The primary motivation to not do this would be for fear of performance