Ticket #183 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Compiler directives on cpdef/cdef functions

Reported by: dagss Owned by: robertwb
Priority: major Milestone: 0.11.1
Component: Parsing Keywords:
Cc:

Description

Currently this is not allowed:

@cython.boundscheck(False)
cdef myfunc():
   ...

It should be.

Change History

Changed 4 years ago by scoder

  • milestone changed from wishlist to 0.11

This is actually required for defining locals in external .pxd files for .py source files.

Changed 4 years ago by robertwb

  • milestone changed from 0.11 to 0.11.1

I did most of the work to allow this, but only allow cython.locals at the moment. This should be an easy ticket, but I'm moving it to 0.11.1 so we can finally get this release out.

Changed 4 years ago by robertwb

  • owner changed from somebody to robertwb

This was actually resolved in total generality, test up at  http://hg.cython.org/cython-devel/rev/ed79dcc46a5a

Changed 4 years ago by robertwb

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.