
Stefan Slapeta <stefan_nospam_@slapeta.com> writes:
Running __main__.__doc__ Trying: from const_argument_ext import * Expecting: nothing ok Trying: accept_const_arg_noproto(1) Expecting: 1 ***************************************************************** Failure in example: accept_const_arg_noproto(1) from line #2 of __main__ Exception raised: Traceback (most recent call last): File "c:\python23\lib\doctest.py", line 442, in _run_examples_inner compileflags, 1) in globs File "<string>", line 1, in ? ArgumentError: Python argument types in const_argument_ext.accept_const_arg_noproto(int) did not match C++ signature: accept_const_arg_noproto(class boost::python::api::object)
This is just freaky. A Python int can't be converted to a boost::python::object?? -- Dave Abrahams Boost Consulting http://www.boost-consulting.com