On 11/17/2014 4:17 PM, Stefan Seefeld wrote:
On 17/11/14 06:54 PM, Alex Mohr wrote:
On 11/17/2014 2:01 PM, Stefan Seefeld wrote:
(Specifically: I'd be happy to help fix issues with the Boost.Python
code itself, but I don't feel competent with bjam / Boost.Build, and my
knowledge of MSVC is almost non-existent, not to speak of the fact that
I have no computer near me running Windows, so I couldn't even test any
Windows-specific patches.)
Thanks for offering! Here's a report for a crash bug with a patch
that I filed 16 months ago. The formatting is busted in the original
report; please see the first comment for a properly formatted test
case and patch.
https://svn.boost.org/trac/boost/ticket/8978
We've been running this patch successfully since that ticket was filed.
While the issue looks clear (and the patch good), can you attach a test
case that would allow me to reproduce the issue (and observe the fix
with the patch applied) ?
Minimal test cases always accelerate the processing of reported issues. :-)
Sorry, the minimal test case is included in the report. I will inline
it here also.
Alex
// C++
#include <boost/python.hpp>
static void f1(int a0, int a1) { }
static void f2(int a0, int a1, int a2) { }
BOOST_PYTHON_MODULE(kwargCrash) {
boost::python::def("f", f1, (arg("a1")=2));
boost::python::def("f", f2, (arg("a2")=2));
}
# Python
import kwargCrash
kwargCrash.f(0, a1=2)
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig