• scoder's avatar
    Support cimports in pure Python code. (GH-4190) · 1489b16a
    scoder authored
    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".
    1489b16a
Shadow.py 14.5 KB