On 31/08/2012 02:43, Gregory P. Smith wrote: > We have use for _PyBytes_Join in an extension module but technically it > isn't a public Python C API... anyone know why? > > PyUnicode_Join is. > > Looking up the bytes 'join' method and using the C API to call that > method object with proper parameters seems like overkill in the case > where we're not dealing with user supplied byte strings at all. > For what it's worth, I could also make use of it in the regex module. I use PyUnicode_Join when working with Unicode strings, but I could also use PyBytes_Join if it were available instead of having to look it up.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4