New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyximport does not use cythonize() internally. #2304

Open
gabrieldemarmiesse opened this Issue May 29, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@gabrieldemarmiesse
Contributor

gabrieldemarmiesse commented May 29, 2018

From @scoder 's comment in #2298 about pyximport internals:

Right, and that is totally a bug. It should really use cythonize(). Definitely something to list under "limitations" below.

Since pyximport does not use Cythonize internally, it prevents the use of compiler directives at the top of the .py or .pyx files. Also, using Cythonize could potentially remove quite a bit of code (potentially, all the code in cython/pyximport/pyxbuild.py could be removed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment