[Python-Dev] PyBytes_Join (original) (raw)

Eli Bendersky eliben at gmail.com
Wed Jul 18 14:46:38 CEST 2012


On Wed, Jul 18, 2012 at 3:35 PM, Eli Bendersky <eliben at gmail.com> wrote:

Hi,

PyUnicodeJoin is a public C API function. However, its cousin for the bytes object is tucked privately in Objects/bytesobject.c as PyBytesJoin. Is there any harm in exposing it publicly? A more correctly formulated question would be: why is _PyBytes_Join part of the limited API, while PyUnicode_Join is in the full API. Is there a reason for the former to be less stable than the latter?

Thanks in advance, Eli -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120718/bbd1ac3a/attachment.html>



More information about the Python-Dev mailing list