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

2009-07-28 Thread Robert Smallshire
--- Begin Message --- Hi Thomas, Thanks for the remark. It looks like Bayou is working supporting unicode in Python 3. I have implemented unicode support in Python 2.x which it what I, and I'm sure many others will be using for the forseeable future. Rob Fr

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

2009-07-28 Thread Ralf W. Grosse-Kunstleve
I'd be happy to help out, but I don't know if/how this could interfere with Haoyu Bai's work. Could you post your patches to the trac system at svn.boost.org so we can have a look and figure out a way forward? Ralf - Original Message From: Robert Smallshire To: Development of Python

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

2009-07-28 Thread Thomas Berg
On Tue, Jul 28, 2009 at 4: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, const wchar_t* and std::wstring, together with additional tests > in the boost.python test suit

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 > > (PyStringObject) type in Python. Unless I'm missin