Support cimports in pure Python code. (GH-4190)
Uses a special package prefix "cython.cimports", followed by the actual .pxd module/package names. Also allows "import cython.cimports.libc.math as libc_math" etc., rather than only "from ... import ...". All we need to guard against is that the import does not overwrite the name "cython".
Showing
Please register or sign in to comment