[Cython] Pure python mode
Dag Sverre Seljebotn
dagss at student.matnat.uio.no
Mon Oct 6 19:38:10 CEST 2008
> Robert Kern wrote:
> Oh, never mind. I see what you're saying. But then why do we need
> cython.py if
> everything is provided by Cython/__init__.py?
>
At least for me, Python cannot import it by the name "cython" if only
Cython/... is available. And I think we want "import cython" (not "import
Cython") to work, as lowercase is more consistent with common Python
naming schemes in general and just "feels more right" for such core
language functionality.
(Also the module name would otherwise need to change in a lot of places --
when compiling under Cython, as opposed to running in Python, "cython" is
a magic, hard-wired module and "Cython" will not work, at least currently
(and my opinion is it never should))
Dag Sverre
More information about the Cython-dev
mailing list