On Fri, Oct 31, 2008 at 2:37 AM, Greg Ewing <[EMAIL PROTECTED]> wrote:
>
> Okay, thanks. Sounds like I need to special-case the module
> name when the last component is "__init__", or something like
> that. I'll put it on the list of things to look into!

If you can point me the place to start looking, perhaps I can help.

>> PS: tried only in Py 2.5, this is surely undocumented, and probably it
>> is in fact some bugy code in CPython's  'import.c' .
>
> Yes, it would be better to get it made an officially supported
> behaviour -- and to eliminate the need for the __init__.py to
> be there as well.

You are right, feel free to discuss this on Python-Dev. Anyway, the
__init__.py file will be still required for backward compatibility
reasons.


-- 
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
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to