[Pyrex] Python 3

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 29 08:09:12 CEST 2008


Robert Bradshaw wrote:
> The unicode issues have been hashed out in  
> the thread at http://codespeak.net/pipermail/cython-dev/2008-April/ 
> 000470.html.

I've just looked through that thread, and there doesn't
seem to have been much in the way of satisfactory
conclusions reached.

Something that doesn't seem to have been considered
as much as it needs to be is the issue of memory
management. Currently, coercing a Python string
into a char * doesn't require allocating an memory.

But if a re-coding operation is required, memory
needs to be allocated to hold the result, and it
needs to be freed again somehow. It's far from
clear how to tell when this should be done.

-- 
Greg



More information about the Pyrex mailing list