Anand K Rayudu
anand.k.rayudu at esi-group.com
Tue Jul 6 09:47:48 CEST 2004
Thanks a lot for the suggestion. Could please suggest me if there is a
way to know if INCRF/DECRF is not handled properly. May be some thing
like, when closing the interpter print of all the objects whose
reference count is not 0. Probably type of object can help me in
figuring out error.
Can you please suggest me there is a way to get this information.
Thanks & Best Regards,
Marek Baczyński wrote:
>Dnia Mon, 05 Jul 2004 20:17:10 +0530, Anand K Rayudu napisał(a):
>>I have embedded python and want to execute python scripts from my
>>application. I need to call the execution of python repeatedly, and some
>>times same script again & again.
>>I am facing some problems , especially if i try to execute the same
>>Some times in loading my module. Even it looks like for loops are not
>>working, if i replace them with 'while' it worked.
>>This is on windows system with python 2.3.3 , I have win32 extensions also.
>>Can some body please review following and suggest if any thing is wrong
>>here. Or suggest better way of doing it.
>It's hard to tell what's wrong. From what I see you don't do a lot of necessary error
>checking (basically every result should be checked for an exception, even if
>you know there can't be any), but that likely isn't everything. Missing
>INCREFs/DECREFs may cause trouble, etc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list