On Aug 1, 2008, at 14:30, M.-A. Lemburg wrote: > On 2008-08-01 15:06, Barry Scott wrote: >> I cannot see how I implement decode() for bytes objects using the >> C API >> for PyCXX library, >> I'd assuming that I should find a PyBytes_Decode function but >> cannot find it >> in beta 2. >> What is the preferred way to do this? > > PyUnicode_FromEncodedObject() should to the trick. Thanks thats what I've use. Barry
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