A variable whose data type is PyUnicodeObject needs to be passed to a
function as an argument whose data type should be PyBytesObject type
example :
function (PyByteObject* a){
.operations
}
PyUnicodeObject *p = somevalue;
function((PyBytesObject *)p);
ouptut: Got a Bus Error.
--
http://
-- Forwarded message --
From: Stefan Behnel
To: python-list@python.org
Date: Mon, 17 May 2010 11:33:40 +0200
Subject: Re: Issue with PyUnicodeObject type variables
gmail, 17.05.2010 11:24:
> A variable whose data type is PyUnicodeObject checked whether it is a
> UnicodeObject type
I m trying port pyfsevents coded in python2.6 to python3.1.
But i m getting following errors while building that though i havent changed
anything in these lines.
Any idea why?
"
pyfsevents.c:22: error: expected specifier-qualifier-list before
‘CFFileDescriptorRef’
pyfsevents.c:30: error: expected