Patch: When demandimport is disabled the 'test-profile' test fails.

Alejandro Santos alejolp at alejolp.com
Wed Jul 29 15:29:00 CDT 2009


On Wed, Jul 29, 2009 at 1:35 PM, Dirkjan Ochtman<dirkjan at ochtman.nl> wrote:
> On 29/07/2009 18:27, Matt Mackall wrote:
>>
>> No!
>>
>> Then some clever person will come along and change it to iteritems.
>
> Sorry about that...
>
> list(.iteritems()) also has the advantage that 2to3 can work it.
>

It seems that a clean documentation for that single line of code (and
the rest of the module since there is no single line of comment in
lsprof.py) could be of much help here.

Let's try again :)

-- 
Alejandro Santos,
alejolp at alejolp.com.ar
http://www.alejolp.com.ar


More information about the Mercurial-devel mailing list