Re: [C++-sig] boost::python::str and Python's str and unicode types

2009-08-04 Thread Robert Smallshire
On Tue, Jul 28, 2009 at 10:11 PM, Robert Smallshire wrote: > I have modified my local build of boost.python to include a > boost::python::unicode class, together with appropriate conversions from > wchar_t, const wchar_t* and std::wstring... During testing we have encountered issues

Re: [C++-sig] boost::python::str and Python's str and unicode types

2009-08-03 Thread Robert Smallshire
09 at 10:11 PM, Robert Smallshire wrote: > >> On 07/23/2009 10:17 AM, Robert Smallshire wrote: >> > Hello, >> > >> > I'm looking for some confirmation that my understanding of what >> > boost.python is doing is correct. >> > >

Re: [C++-sig] boost::python::str and Python's str and unicode types

2009-07-28 Thread Robert Smallshire
Rob From: cplusplus-sig-bounces+robert.smallshire=roxar@python.org on behalf of Thomas Berg Sent: Tue 7/28/2009 17:43 To: Development of Python/C++ integration Subject: Re: [C++-sig] boost::python::str and Python's str and unicode types On Tue, Jul 28, 2009 at 4:11 PM, Robert Smalls

Re: [C++-sig] boost::python::str and Python's str and unicode types

2009-07-28 Thread Robert Smallshire
> On 07/23/2009 10:17 AM, Robert Smallshire wrote: > > Hello, > > > > I'm looking for some confirmation that my understanding of what > > boost.python is doing is correct. > > > > > From what I understand boost::python::str represents the str &

[C++-sig] boost::python::str and Python's str and unicode types

2009-07-23 Thread Robert Smallshire
Hello, I'm looking for some confirmation that my understanding of what boost.python is doing is correct. >From what I understand boost::python::str represents the str (PyStringObject) type in Python. Unless I'm missing something, here doesn't seem to be anything like boost::python::unicode repr