[C++-sig] Wrapper for bytes type?

2011-06-26 Thread Andreas Kloeckner
Hi there, Since boost.python provides a wrapper for str, it should likely also provide bytes if it's on Python version 3 and newer. Andreas pgpUkymJPhXZW.pgp Description: PGP signature ___ Cplusplus-sig mailing list Cplusplus-sig@python.org http://ma

Re: [C++-sig] boost.python and distutils

2010-10-26 Thread Andreas Kloeckner
Hi John, On Tue, 26 Oct 2010 12:22:53 +0100, John Reid wrote: > I need to distribute a python package that includes a boost.python > extension. I've been working on Linux but I'd like the distribution to > install easily on any platform with boost and python. > > I'm guessing distutils is the

Re: [C++-sig] Trouble converting data from numpy.array to c++

2010-05-11 Thread Andreas Kloeckner
Hi Jean-Charles, On Tue, 11 May 2010 11:32:08 +0200, QUILLET Jean-Charles wrote: > I've got this problem I cannot solve. I've a c++ application from which I > create an array sending to python this string: > > anArray = numpy.array((1, 2, 3)) > > After extracting the symbol "anArray" from the