[C++-sig] dynamic compile and "to-Python converter ... second conversion method ignored"

2009-11-20 Thread Eilif Mueller
Hi, I'm using boost.python to interface with some dynamically generated C++ code, employing some scipy.weave facilities to cache the results. When I force a recompile and import, I get the following message: RuntimeWarning: to-Python converter for __randint already registered; second conversi

Re: [C++-sig] function with >15 args yields get_signature error

2009-10-26 Thread Eilif Mueller
dtinc@python.org > [mailto:cplusplus-sig-bounces+wladwig=wdtinc@python.org] On Behalf Of > Eilif Mueller > Sent: Monday, October 26, 2009 12:02 PM > To: cplusplus-sig@python.org > Subject: [C++-sig] function with >15 args yields get_signature error > > Hi, > >

[C++-sig] function with >15 args yields get_signature error

2009-10-26 Thread Eilif Mueller
Hi, Wrapping a function f with 16 arguments: int f(int x1, int x2, int x3, int x4, int x5, int x6, int x7, int x8, int x9, int x10, int x11, int x12, int x13, int x14, int x15, int x16) { return x1; } BOOST_PYTHON_MODULE(test) { def("f",f); } yields /usr/include/boos