[Python-Dev] C-API status of Python 3?
Alex Martelli
aleaxit at gmail.com
Sun Mar 2 03:14:18 CET 2008
On Sat, Mar 1, 2008 at 12:14 PM, Christian Heimes <lists at cheimes.de> wrote:
...
> The 3.0 API isn't stable yet. I plan to rename some of the functions
> before the first beta is released. Currently the naming schema is too
> confusing:
>
> PyUnicode - str
> PyString - bytes
> PyBytes - bytearray
>
> See? :)
Yep, but please do keep the PyUnicode for str and PyString for bytes
(as macros/synonnyms of PyStr and PyBytes if you want!-) to help the
task of porting existing extensions... the bytearray functions should
no doubt be PyBytearray, though.
Alex
More information about the Python-Dev
mailing list