In message <[EMAIL PROTECTED]>, Bo Peng <[EMAIL PROTECTED]> writes >The problem is not that difficult to find, but it was 2am in the morning and >I was misled by the different behavior of pyFun1 and pyFun2.
Don't know if you were using Windows, but if you were then Python Memory Validator would have helped you identify that bug. Its in beta at the moment if you want to try it. http://www.softwareverify.com Stephen -- Stephen Kellett Object Media Limited http://www.objmedia.demon.co.uk/software.html Computer Consultancy, Software Development Windows C++, Java, Assembler, Performance Analysis, Troubleshooting -- http://mail.python.org/mailman/listinfo/python-list