Re: [Cython] [RFE] Add dummy compiler directive decorators for pure python mode

2015-07-28 Thread Robert Bradshaw
On Sat, Jul 25, 2015 at 6:23 AM, Carlos Pita wrote: >> > Not sure, but would it be desirable for the decorators to be less dummy and >> > for RuntimeCompiledFunction to take the flags into account when compiling >> > on the fly? >> >> Can you provide a pull request, including tests? > > I don't ha

Re: [Cython] [RFE] Add dummy compiler directive decorators for pure python mode

2015-07-26 Thread Carlos Pita
> > Not sure, but would it be desirable for the decorators to be less dummy and > > for RuntimeCompiledFunction to take the flags into account when compiling > > on the fly? > > Can you provide a pull request, including tests? I don't have much time these days but I gave some thoughts to this and

Re: [Cython] [RFE] Add dummy compiler directive decorators for pure python mode

2015-04-07 Thread Stefan Behnel
Carlos Pita schrieb am 07.04.2015 um 18:39: > pure python mode will benefit from the addition of dummy decorators > for compiler directives to Shadow.py, like in: > > @cython.boundscheck(False) > def f(): pass > > AFAICS this is not currently valid inside the interpreter. Sure, why not. https:/

[Cython] [RFE] Add dummy compiler directive decorators for pure python mode

2015-04-07 Thread Carlos Pita
Hi all, pure python mode will benefit from the addition of dummy decorators for compiler directives to Shadow.py, like in: @cython.boundscheck(False) def f(): pass AFAICS this is not currently valid inside the interpreter. Cheers -- Carlos ___ cython-