[C++-sig] boost::python::str and Python's str and unicode types
Thomas Berg
merlin66b at gmail.com
Tue Jul 28 17:43:32 CEST 2009
On Tue, Jul 28, 2009 at 4:11 PM, Robert
Smallshire<Robert.Smallshire at roxar.com> 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 suite. As you would expect, the code is
> closely derived from the existing boost::python::str code but uses the
> Python C API for PyUnicode_Type rather than PyString_Type. There are no
> breaking changes to the existing boost.python API.
>
> I'd like to contribute these changes back to boost.python so they can be
> hopefully integrated into future official Boost releases. What is the
> procedure for this? Where do I start?
>
> Cheers,
>
> Robert Smallshire
Just a side note, I think Haoyu Bai is already adding unicode support
to boost.python in his GSoC project. His work should at least be
available through svn, according to his post from 4 weeks ago:
http://mail.python.org/pipermail/cplusplus-sig/2009-July/014664.html
Cheers,
Thomas Berg
More information about the Cplusplus-sig
mailing list