[PATCH 2 of 3] absolute imports for mercurial modules

Benoit Boissinot benoit.boissinot at ens-lyon.org
Sun May 3 08:56:05 CDT 2009


On Sun, May 03, 2009 at 12:52:34AM +0200, Martin Geisler wrote:
> Simon Heimberg <simohe at besonet.ch> writes:
> 
> > # HG changeset patch
> > # User Simon Heimberg <simohe at besonet.ch>
> > # Date 1240936971 -7200
> > # Node ID da8bb0eb1d2eaacd838399d98d4e6bc764571685
> > # Parent  1c64876cb225e06807c7ec9d00d26e08564fccbc
> > absolute imports for mercurial modules
> 
> I personally like this, I think it makes things more explicit. It is
> also more future-proof than the current relative imports.
> 
> Does anybody have anything against the absolute imports?

You should investigate the implication with demandimport, depending on
how you load modules demandimport might not lazy-load it.

regards,

Benoit

-- 
:wq



More information about the Mercurial-devel mailing list