[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-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


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://github.com/cython/cython/commit/690881089fc2bc16e44e6e88b6a4c979cd57d9ad

Stefan

___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel