[Zope-dev] Update on ztk kgs: Python 2.6 issues

Patrick Gerken do3ccqrv at googlemail.com
Wed Sep 16 04:38:31 EDT 2009


Yes, I would say so.

This
http://zope3.pov.lt/trac/browser/zope.testing/trunk/src/zope/testing/testrunner/profiling.py#L86

Was never an official feature, also I did not see an obvious alternative
http://www.python.org/doc/2.4.4/lib/profile-stats.html

Apart from that, hotshot is now unmaintained and might be removed
http://www.python.org/doc/2.6.2/library/hotshot.html

We still have the cProfile Profiler. It seems that hotshots focus was
on faster profiling, but I don't see an issue here, since nobody runs
a profiler in his production environments.

Best regards,

     Patrick

On Tue, Sep 15, 2009 at 21:21, Jim Fulton <jim at zope.com> wrote:
> On Tue, Sep 15, 2009 at 12:08 PM, Patrick Gerken
> <do3ccqrv at googlemail.com> wrote:
>> Hi,
>>
>> 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.
>
> Thanks. That's probably the right first step.  Does this mean we're
> permanently removing this feature? That would be OK with me.
>
> Jim
>
> --
> Jim Fulton
>


More information about the Zope-Dev mailing list