title: Print Boost Python object
body: <p>I have a Boost Python object</p>
  
  <pre><code>py::object obj = whatever();
  </code></pre>
  
  <p>I want to print it using normal python rules.</p>
  
  <pre><code>// I want the effect of print 'My object is ', obj
  std::cout &lt;&lt; "My object is " &lt;&lt; obj &lt;&lt; std::endl;
  </code></pre>
  
  <p>This does not compile with a huge compiler dump. How do I do this?</p>