A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-February/071367.html below:

Is Py_Finalize() necessary between embedded function calls?

[Python-Dev] Embedded Python:: C/Python: Is Py_Finalize() necessary between embedded function calls? [Python-Dev] Embedded Python:: C/Python: Is Py_Finalize() necessary between embedded function calls?Oleg Broytmann phd at phd.pp.ru
Sun Feb 25 15:48:52 CET 2007
On Fri, Feb 23, 2007 at 04:24:19AM -0800, Sydney Pang wrote:
> do I have to call Py_Finalize() at 
> the end of each Python embedded C function?

   As far I understand you only need to call Py_Initialize() and
Py_Finalize() once per every embedded interpreter, not for an every
function.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4