Andrew Bennetts wrote:
Chris Withers wrote:
Michael Haubenwallner wrote:
Here is the patch that made it break:
+--- Lib/hotshot/stats.py~2001-10-15 22:18:53.0 +
Lib/hotshot/stats.py2006-04-21 18:39:17.691461512 +
[...]
Wow, that's pretty evil.
Who's the appropria
Michael Haubenwallner wrote:
Just for the record, the problem is created by the ubuntu diffs that
where automatically installed with the python2.4-minimal package
That is one of the more repugnant things I've seen a distribution force
on their users in quite some time. I intent to complain to
Chris Withers wrote:
> Michael Haubenwallner wrote:
> >Here is the patch that made it break:
> >+--- Lib/hotshot/stats.py~2001-10-15 22:18:53.0 +
> > Lib/hotshot/stats.py2006-04-21 18:39:17.691461512 +
[...]
>
> Wow, that's pretty evil.
>
> Who's the appropriate Ubuntu
Michael Haubenwallner wrote:
Here is the patch that made it break:
+--- Lib/hotshot/stats.py~2001-10-15 22:18:53.0 +
Lib/hotshot/stats.py2006-04-21 18:39:17.691461512 +
+@@ -1,7 +1,14 @@
+ """Statistics analyzer for HotShot."""
+
+-import profile
+-import pstats
++try
Benji York wrote:
Michael Haubenwallner wrote:
It is like Marius Gedminas said earlier in his response: just install
python2.4-profiler package and it works.
I'm glad that solved your particular problem. zope.testing is supposed
to work without hotshot (and therefore its dependencies like pr
Michael Haubenwallner wrote:
It is like Marius Gedminas said earlier in his response: just install
python2.4-profiler package and it works.
I'm glad that solved your particular problem. zope.testing is supposed
to work without hotshot (and therefore its dependencies like profile),
so I'd lik
Benji York schrieb:
Michael Haubenwallner wrote:
Why is the testrunner running with the --profile option ?
I did not set it. I understand that profiling should be disabled if
hotshot cannot be imported.
Running (from a svn checkout)
python test.py -s zope.anypackage
Works for me.
ImportE