I really don't know. Effbot, MvL and/or MAL should know. On 5/3/05, Nicholas Bastin <nbastin at opnet.com> wrote: > > On May 3, 2005, at 6:44 PM, Guido van Rossum wrote: > > > I think that documentation is wrong; AFAIK Py_UNICODE has always been > > allowed to be either 16 or 32 bits, and the source code goes through > > great lengths to make sure that you get a link error if you try to > > combine extensions built with different assumptions about its size. > > That makes PyUnicode_FromUnicode() a lot less useful. Well, really, > not useful at all. > > You might suggest that PyUnicode_FromWideChar is more useful, but > that's only true on platforms that support wchar_t. > > Is there no universally supported way of moving buffers of unicode data > (as common data types, like unsigned short, etc.) into Python from C? > > -- > Nick > > -- --Guido van Rossum (home page: http://www.python.org/~guido/)
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