[Cython] Class module names do not respect package hierarchy

Lisandro Dalcin dalcinl at gmail.com
Tue Oct 28 16:19:43 CET 2008


On Tue, Oct 28, 2008 at 7:52 AM, Stephane DROUARD
<stephane.drouard at st.com> wrote:
> This will ensure that the __name__ properties of the module and any classes
> defined in it are set correctly. ..."
>
> The patch I'm proposing avoids having to declare/know the package structure
> at compile time, but determines it at runtime.

Your patch would perhaps work for Python clases, but not for extension
types (I mean, cdef ones).

Why did you run in the need to do this? Could you elaborate a bit more
your needs?




-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594


More information about the Cython-dev mailing list