Excluding all constructors of a class doesn't result in the generated "boost::python::class_" template instantiation getting a "boost::python::no_init" argument when the class has a publicly-accessible trivial constructor.
The "pyplusplus.decl_wrappers.class_wrapper.class_t._get_no_init" method only checks the value of the constructors' "ignore" properties when the class doesn't contain a publicly-accessible trivial constructor. If a class' publicly-accessible trivial constructor has been explicitly excluded shouldn't the "boost::python::no_init" argument be specified anyway?
This bug was found in revision 1856.
Log in to post a comment.