Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment:
Oops, it seems Marc-André has already opened an issue about this.
Closing as duplicate.
--
resolution: -> duplicate
status: open -> closed
superseder: -> Remove PyUnicode_AsString(), rework
PyUnicode_AsStringAndSize(), add P
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment:
Honestly, I am not sure if removing PyUnicode_AsString() is a good idea.
There is many cases where the size of the returned string is not needed.
Furthermore, this would be a rather major backward-incompatible change
to be included in a
New submission from Alexandre Vassalotti <[EMAIL PROTECTED]>:
Marc-Andre Lemburg noted:
BTW: The API PyUnicode_AsString() is pretty useless by itself - there's
no way to access the size information of the returned string without
again going to the Unicode object.
I'd suggest to remove