[C++-sig] boost python constructor for tr1::array

2010-03-01 Thread Amos Anderson
Hello -- i've got a wrapper for a tr1::array, but i don't know how to make a constructor for it. i have something like: //some stuff defining functions //... class_ > (ss.str().c_str()) .def("__getitem__", get, return_value_policy()) .def("__setitem__", &array_setitem) .def("_

Re: [C++-sig] incorrect linking to libpython (Dane Springmeyer)

2010-03-01 Thread Amos Anderson
> > Message: 2 > Date: Fri, 26 Feb 2010 18:36:16 -0800 > From: Dane Springmeyer > To: Development of Python/C++ integration > Subject: Re: [C++-sig] incorrect linking to libpython > Message-ID: <57569986-7d90-4686-8384-809f8d27f...@hailmail.net> > Content-Type: text/plain; charset=US-ASCII; forma

Re: [C++-sig] profiling python extension

2010-03-01 Thread John Reid
Alexey Akimov wrote: Thank you John, I just installed the tool you suggested and tried to use it. However I do not see any output. Could you give some more detailes of how the profiling process with the google-profiler should look like? What I do is: 1) bjam variant=profile toolset=gcc cxxfl