FAQ
Hi all,

I've an application with embedded python.

In order to reload the python scripts, I end the python session, and
reopen one just after :

<...release used modules...>
Py_Finalize();

Py_Initialize();
<...Acquire relevant modules...>

In order to debug the python script, I recently tried winPdb, which is
pretty decent for a free debugger working with embedded python.
So I just have :
import rpdb2;
rpdb2.start_embedded_debugger("toto", True)
in my python script

But when I use it, the Py_Finalize / Py_initialize sequence crashes in
py_initialize.

I didn't have Python sources to have more complete informations, but
perhaps some one knows about this problem, and what I can do to avoid
this ?

When using a custom debugger, and a custom Trace function, is there
something particular to do when Finalizing Python ?

Any help really welcomed,

Emmanuel

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedAug 13, '06 at 7:38p
activeAug 13, '06 at 7:38p
posts1
users1
websitepython.org

1 user in discussion

Eastier: 1 post

People

Translate

site design / logo © 2022 Grokbase