On 5/15/08, Stefan Behnel <[EMAIL PROTECTED]> wrote:
> Cython now uses one list, but keeps the information if the string was
>
>  - a unicode string
>  - an identifier
>  - decided to be interned

So in the Py3 case the list can have either 'str' instances or 'bytes'
instances, right? At first glance, I have no strong objections with
this, though (for same not-easy-to-explain reason) my mind believes
Py3 byte strings should be managed separatelly.

Greg, what do you think? You said that Cython/Pyrex string tables
cannot contain a mix of 'str' and 'bytes' instances, but I do not
realize where the actual problem is.



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