June 4, 2013
1:12 p.m.
Inner classes seem to be given the wrong name or perhaps this is by design. Could someone enlighten me? If I do: namespace py = boost::python; py::class_< T > outer( "Outer" ); py::scope( outer ); py::class_< U > inner( "Inner" ); then in python: import module as M print M.Outer.Inner gives "M.Inner" which doesn't exist. I'm not sure it is important, it just seems curious. John.