Visit this link:
http://www.boost.org/libs/python/doc/tutorial/doc/html/python/embedding.html

Read the 'notes' section under "Getting Started".

On Tue, Mar 25, 2008 at 6:38 AM, Per Ghosh <per@gorep.se> wrote:
You should call it!

http://docs.python.org/api/initialization.html

Robert Dailey skrev:
Hi,

I remember reading in the boost documentation a while back that Py_Finalize() should not be called when using Boost.Python to embed or extend python. I cannot find that documentation again, unfortunately. Is this a true statement or is it safe to call Py_Finalize()? If not, why can this not be called? How does Boost.Python handle finalizing the interpreter?

Thanks.

_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users