A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/336245.html below:

embedding python in C, working but with exception at the end

embedding python in C, working but with exception at the end embedding python in C, working but with exception at the endFredrik Lundh fredrik at pythonware.com
Sat Sep 3 10:45:57 EDT 2005
brobigi at yahoo.com wrote:

> Program crashes at line Py_Finalize(). Program tries to read some
>memory location and suffer run time exception.

PyTuple_SetItem "steals" a reference, so changing

    Py_XDECREF(stringarg);
    Py_XDECREF(args);

to just

    Py_XDECREF(args);

might fix the problem.

</F> 




More information about the Python-list 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