title: boost.python interpreter instantiation
body: <p>I need to use <code>boost::python</code>, but I want the interpreter context to be destroyed after the python interaction has finished. </p>
  
  <p>How and when exactly is the python interpreter being instantiated, and how do I destroy all the resources allocated by it?</p>
  
  <p><strong>Update</strong> Apparently <code>Py_Finalize</code> is not designed to be called many times in the same process. It seems this approach won't work: <a href="http://docs.python.org/2/c-api/init.html#l2h-652" rel="nofollow">http://docs.python.org/2/c-api/init.html#l2h-652</a></p>