Is there conversion method to convert pyunicodeobject to pybyteobject?

MathanK switch2mathan at gmail.com
Sat May 15 10:50:22 EDT 2010


Hi All,

A variable whose data type is PyUnicodeObject is to be assigned to varioable of PyBytesObject type 

example :

PyUnicodeObject *p = ...whatever...; 
function( (PyByteObject*p)); 

compiled and got a Bus Error.

Cheers,
Mathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100515/58d757c6/attachment.html>


More information about the Python-list mailing list