[C++-sig] Re: passing a unicode string from python to c++ std::wstring

Andrew Thomas Corrigan acorriga at cs.stevens-tech.edu
Sat May 1 17:16:41 CEST 2004


> rewrap_value_wstring(u'yo, wassup?')

Should I use that rewrap_value_wstring to make it not crash?

> If there's a bug, how do you know it's not in your own code?

I don't.   It just seems that way.  I say this because merely passing a
string from python to c++ that is too long, will make it crash.

I'll produce a simple test case ASAP.

Andrew




More information about the Cplusplus-sig mailing list