python 2.3.2 hangs when returning an int

Thomas Heller theller at python.net
Mon Feb 23 11:33:37 EST 2004


rus20376 at salemstate.edu (omission9) writes:

> Any advice on the following would be much appreciated. I have thrown 
> everything I have at it and am completely stumped. I apologize for the 
> length, I have tried to be as succint as possible.
>
> I have a pythoncard/wxPython application. The application works well 
> except that users were reporting occasional crashes. The application 
> would simply stop and just hang. I was able to reproduce the bug 
> faithfully and ran the application in the python debugger pdb.py.
> The trace is below and I simply cannot understand why it is hanging 
> where it is. The application gets stuck executing
>
> return len(self.data[0])

Does pythoncard or wxPython (or your program) use weak references?
There have been serious bugs fixed with weakrefs in Python 2.3.3.

Thomas





More information about the Python-list mailing list