Py_single_input and the side-effects...

moerchendiser2k3 googler.1.webmaster at spamgourmet.com
Sat May 29 08:34:56 EDT 2010


Hi at all,

I have a small problem with Py_single_input, that I dont really know
what it
actually does.

I created my own interactive interpreter loop and when I create
objects like

p = TestObject()

this instance is just deleted on Py_Finalize() even I delete the
entire console scope long time before. It seems that Py_single_input
stores the references somewhere else. Could anyone explain me a little
bit what is actually going on here?

Thanks a lot!
Cheers, moerchendiser2k3



More information about the Python-list mailing list