Hi,
Stefan Behnel wrote:
> Lisandro Dalcin wrote:
>> Mmm.. look at my patch, I do not believe we need to rely on
>> compatibility headers. I just introduced
>> __Pyx_PyBytes_{As|From}String(). Of course, feel free to change that
>> name if you found better ones
>
> Ah, you're right. I was thinking too much in terms of lxml, which does a lot
> of different PyString API calls.
>
> I'm wondering, though: once the header file is in place, I think users might
> or might not want to #include it, and if they do, it will conflict with the
> definitions in Cython, which are currently generated before the #includes.
> So we might still end up including it completely to simplify the transition
> for user code.
Hrmpf, sorry, I should have read your patch more closely (pretty late over
here...)
You're not actually redefining the names, just using new names. That's the
right way of doing it. I'll apply it tomorrow.
Thanks,
Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev