The behavior of the "add_registration_code" method is inconsistent between the pyplusplus.decl_wrappers.class_wrapper.class_t and pyplusplus.module_builder.boost_python_builder.builder_t types.
pyplusplus.decl_wrappers.class_wrapper.class_t.add_registration_code doesn't require a "def" member function call to be prefixed with a "." or suffixed with a ";".
pyplusplus.module_builder.boost_python_builder.builder_t.add_registration_code does require a "def" free function call to be prefixed with a "bp::" and suffixed with a ";".
It would be nice if the add_registration_code method would always add the necessary prefix and suffix as necessary regardless of which object it is an attribute of.
This bug was found in revision 1856.
Log in to post a comment.