On 5/17/08, Stefan Behnel <[EMAIL PROTECTED]> wrote:

>  To make things worse, Cython stores keyword arguments as a StringNode in a
>  generic DictItemNode of a DictNode.

Does it make sense to add a new StringKeywordNode class to handle this?

> So I find it difficult to figure out the
>  right place to store the information that the string must behave like an
>  identifier.

I had the same problem!

>  BTW, Py3a5 has a bug here. It crashes when you pass byte strings as keyword
>  arguments to ParseTupleAndKeywords. I filed a bug report and this has been
>  fixed, so I guess Py3b1 will raise a TypeError.

Good to know. I did not notice this because I test with the py3 SVN
repo directly, and I update and rebuild it every time I try something.


-- 
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