Strange Hotshot problem...

Neil Hodgson nhodgson at bigpond.net.au
Fri Oct 24 20:26:57 EDT 2003


KefX:
> Well, it finds the file just
> fine, but it can't read it. It raises an IndexError from trying to pop an
empty
> list or some such. I've tested Hotshot with simple test scripts in pure
Python
> and it works just fine.

   I saw a similar issue that could be 'fixed' by running Python in
optimized '-O' mode rather than normal mode as -O turns off assertions.

   Neil






More information about the Python-list mailing list