[Cython] Bug: operator[] does not respect except +

2014-08-08 Thread J Robert Ray
I apologize for not having a working demonstration, but I have found this bug and verified it is still an issue in Cython 0.20.2. No try/catch block is generated for operator[]. In contrast, a try/catch block does get generated for operator(). If it is any use, here is a paraphrasing of the pyx co

Re: [Cython] aritmetic with arrays in Cython

2014-08-08 Thread Ian Henriksen
On Fri, Aug 8, 2014 at 3:09 PM, Ian Henriksen < insertinterestingnameh...@gmail.com> wrote: > On Fri, Aug 8, 2014 at 12:02 PM, Julian Taylor < > jtaylor.deb...@googlemail.com> wrote: > >> On 08.08.2014 19:36, Stefan Behnel wrote: >> > Hi, >> > >> > please don't top-post. >> > >> > Ian Henriksen sc

Re: [Cython] aritmetic with arrays in Cython

2014-08-08 Thread Ian Henriksen
On Fri, Aug 8, 2014 at 12:02 PM, Julian Taylor < jtaylor.deb...@googlemail.com> wrote: > On 08.08.2014 19:36, Stefan Behnel wrote: > > Hi, > > > > please don't top-post. > > > > Ian Henriksen schrieb am 08.08.2014 um 18:47: > >> I'd like to work on it. That was why I asked. It's been bothering me

Re: [Cython] aritmetic with arrays in Cython

2014-08-08 Thread Julian Taylor
On 08.08.2014 19:36, Stefan Behnel wrote: > Hi, > > please don't top-post. > > Ian Henriksen schrieb am 08.08.2014 um 18:47: >> I'd like to work on it. That was why I asked. It's been bothering me for >> some time that we don't have this feature yet. This will take me some time >> though since I'

Re: [Cython] aritmetic with arrays in Cython

2014-08-08 Thread Stefan Behnel
Hi, please don't top-post. Ian Henriksen schrieb am 08.08.2014 um 18:47: > I'd like to work on it. That was why I asked. It's been bothering me for > some time that we don't have this feature yet. This will take me some time > though since I'm not at all familiar with Cython's internals. I've use

Re: [Cython] aritmetic with arrays in Cython

2014-08-08 Thread Ian Henriksen
I'd like to work on it. That was why I asked. It's been bothering me for some time that we don't have this feature yet. This will take me some time though since I'm not at all familiar with Cython's internals. I've used it in relatively small settings for speeding up array operations and wrapping e

Re: [Cython] aritmetic with arrays in Cython

2014-08-08 Thread Stefan Behnel
Matěj Laitl schrieb am 08.08.2014 um 11:07: > On Friday 08 of August 2014 07:05:08 Stefan Behnel wrote: >> Eigen can apparently do these things already: >> >> http://eigen.tuxfamily.org/dox/TopicLazyEvaluation.html >> >> It might not be all that much work to integrate this with Cython to enable >>

Re: [Cython] aritmetic with arrays in Cython

2014-08-08 Thread Matěj Laitl
On Friday 08 of August 2014 07:05:08 Stefan Behnel wrote: > Ian Henriksen schrieb am 08.08.2014 um 00:58: > > On Thu, Aug 7, 2014 at 1:58 AM, Matěj Laitl wrote: > >> you may also check out https://github.com/strohel/Ceygen if it would suit > >> your needs. > > Interesting project. Thanks for shari