[BangPypers] [SOLVED] Re: How to compare two PyUnicode objects ?

Kushal Das kushaldas at gmail.com
Tue Jun 14 08:27:18 CEST 2011

On Tue, Jun 14, 2011 at 11:37 AM, Kushal Das <kushaldas at gmail.com> wrote:
> Hi,
> I am writing a python extension in C. I have two PyObjects of type
> PyUnicode. Now I want to compare the values in the both. Which
> function I should use for the same ? I was trying PyObject_Compare
> from [1] but not the getting the correct result. Any link/example to
> read ?
I was using the correct function but with wrong values. Fixed now.


More information about the BangPypers mailing list