Yang> Note: I realize hotshot is obsoleted by cProfile, but 2.5 breaks
Yang> several packages I depend on. I'm using Python 2.4.3.
Not a direct answer to your question, but the cProfile module runs just fine
under 2.4.
Skip
--
http://mail.python.org/mailman/listinfo/python-list
I created a simple test case showing the zope.interface problem. Just
pass the following file to profile.py (i.e. the 'profile' module in
your Python standard library, run as a standalone app). The culprit
*seems* to be Twisted. Any ideas? Thanks in advance.
#!/usr/bin/env python
"""
error i get:
Yang a écrit :
> Note: I realize hotshot is obsoleted by cProfile, but 2.5 breaks
> several packages I depend on. I'm using Python 2.4.3.
>
> I'm getting an AssertionError on "assert not self._stack" when calling
> hotshot.stats.load() on my app's hotshot profile. The app consistently
> causes hot
I fell back onto the old profile module, but got the following error
when trying to use zope.interface. I am now without any way to profile
my application.
Traceback (most recent call last):
File "/home/yang/local/bin/profile.py", line 611, in ?
run('execfile(%r)' % (sys.argv[0],), options.o
Note: I realize hotshot is obsoleted by cProfile, but 2.5 breaks
several packages I depend on. I'm using Python 2.4.3.
I'm getting an AssertionError on "assert not self._stack" when calling
hotshot.stats.load() on my app's hotshot profile. The app consistently
causes hotshot to generate such a pro