When return a vector of shared pointers to const objects in python, they are returned as SwigPyObject instances instead of the appropriate type.
Single shared pointers to const objects are returned correctly and so are vectors of shared pointers to non const objects.
The following is an example of the issue:
std::vector<boost::shared_ptr<const ClassA> > someMethod();
%template (ExampleType) std::vector< boost::shared_ptr < const ClassA > > ;