[C++-sig] Duplicate registration of to-Python converters
Pertti Kellomäki
pk at cs.tut.fi
Thu Mar 22 16:13:46 CET 2007
David Abrahams wrote:
> Boost.Python doesn't support Py_Finalize() yet.
Does this mean that it is not safe to follow the "Getting
Started" outline at:
<http://www.boost.org/libs/python/doc/tutorial/doc/html/python/embedding.html>
If so, is there a workaround if one wants to repeatedly
run Python programs in a fresh environment?
I am able to run Python code with repeated sequences of
Py_Initialize()
PyRun_SimpleFile()
Py_Finalize()
so am I just being lucky that the ill effects have not
surfaced? This is on Ubuntu, g++ 4.1.2, Boost 1.33.1
Thanks.
--
Pertti
More information about the Cplusplus-sig
mailing list