re-import lsprof.py

John Arbash Meinel john at arbash-meinel.com
Mon Aug 14 22:23:23 BST 2006


Robey Pointer wrote:
> 
> On 12 Aug 2006, at 11:29, Carl Friedrich Bolz wrote:
> 
>> Hi all!
>>
>> The lsprof.py that is included in bzr lags quite a big behind between
>> the original file. Is it possible to re-import it? It crashes because of
>> things that I have in my site.py and this particular bug has been fixed
>> in the official version. The newest version can be found here:
>>
>> http://codespeak.net/svn/user/arigo/hack/misc/lsprof/
> 
> Thanks for finding this, btw!  I was looking for lsprof about a month
> ago for a friend and couldn't find it.  I was afraid it had become
> abandonware.
> 
> In addition to John's comments, I want to add: It's not clear to me if
> cProfile supports threads -- a quick skim looks like it doesn't.  I'll
> try to contact Armin and see if they'd like to merge some of our changes
> too.

Actually, we already merged up to date, but I thought iteritems vs items
was our change, to iterate rather than build up a list. Rather than
lsprof fixing things because of site.py issues.

By the way, can you tell us what in you site.py is causing problems with
iteritems()? Just in case someone else has a similar problem.

(I submitted a patch to the pqm).

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060814/324bc622/attachment.pgp 


More information about the bazaar mailing list