<div dir="ltr">Thanks that works fine.<br><br>Though I'd like to ask you whether there is any reason for unary operator * to work only with boost::python::tuple and not with boost::python::list. At first I used the latter and I got a python exception that while the functions I was calling was requiring N arguments, it was provided with 0. It was also the case of a bound member function, meaning that at least the self argument was already embedded in the boost::python::object I was calling. When I converted the list to a tuple the call run smoothly.<br>
<br>Is this patch going to be in the 1.36.0 release? If not are there any plans for which release it will be included in?<br><br>Cheers,<br>Themis<br><br><br><div class="gmail_quote">On Sat, Jul 26, 2008 at 1:46 PM, Stefan Seefeld <span dir="ltr"><<a href="mailto:seefeld@sympatico.ca">seefeld@sympatico.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Themistoklis Bourdenas wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, I was looking in the boost.python for a wrapper of the PyObject_Call() func but couldn't find anything. Did I missed it or has it not been implemented yet? In essence I need to call functions in python by providing a collection (either stl or boost.python collection) of boost::python::object instances instead of giving the arguments in the traditional way.<br>
<br>
Any ideas, or should I use directly PyObject_Call()?<br>
</blockquote></div>
I have a patch for this (<a href="https://svn.boost.org/trac/boost/ticket/1316" target="_blank">https://svn.boost.org/trac/boost/ticket/1316</a>), but it requires a final review. You may apply it to your sources locally.<br>
<br>
Regards,<br>
Stefan<br><font color="#888888">
<br>
-- <br>
<br>
...ich hab' noch einen Koffer in Berlin...<br>
<br>
_______________________________________________<br>
C++-sig mailing list<br>
<a href="mailto:C%2B%2B-sig@python.org" target="_blank">C++-sig@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/c++-sig" target="_blank">http://mail.python.org/mailman/listinfo/c++-sig</a><br>
</font></blockquote></div><br></div>