summaryrefslogtreecommitdiff
path: root/Cython/Compiler/UFuncs.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix ufunc GIL handling (#5332)da-woods2023-03-221-0/+4
| | | | | | | | It looks like Numpy releases the GIL for us (unless it's PyObject arguments), so we should assume that we don't have the GIL, and write code to regain it if needed, rather than assuming we need to release the GIL. Fixes #5328
* Support auto-generation of Numpy ufuncs (GH-4803)da-woods2023-02-251-0/+282
Provides a decorator to automatically transform a cdef function into a Numpy ufunc (with the loop embedded in the function so hopefully pretty efficient). Closes https://github.com/cython/cython/issues/4758