I have removed that profiler for python2.6
My understanding of the python api is, that we were using an
undocumented feature to merge two hotshot profiler results.
Since nobody maintains hotshot any longer, there probably won't be
anybody adding this feature officially.
Tests on 2.6 work for me now.
On Sun, Aug 16, 2009 at 18:02, Marius Gedminas <mar...@gedmin.as> wrote:
> On Sat, Aug 15, 2009 at 06:55:17PM -0400, Jim Fulton wrote:
>> I've gotten the ztk kgs tests to pass with Python 2.5 on Mac OS X.
>> I've got them mostly passing with on Python 2.6.
> Double yay!
>> The only failure I'm
>> getting is for zope.testing and it's due to a Python 2.6 hotshot bug:
>> I'm not sure what to do about this. Perhaps I should disable this
>> test, or maybe even the feature for Python 2.6.
> Sounds about right. Python 2.6 has cProfile, which is (supposedly)
> better than hotshot.
>> When building, I'm getting some deprecation warnings:
>> DeprecationWarning: the sets module is deprecated
>> from sets import Set # For python 2.3 compatibility
>> DeprecationWarning: The popen2 module is deprecated. Use the
>> subprocess module.
>> import popen2
>> It would be great if someone would fix these. :)
>> When running the tests, the only deprecation warnings are from
>> twisted, which we can't do anything about.
>> BTW, if you want to try this yourself, use the buildout at:
> Marius Gedminas
> http://pov.lt/ -- Zope 3 consulting and development
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> -----END PGP SIGNATURE-----
> Zope-Dev maillist - zope-...@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope )
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -