[PATCH] demandimport: fix level passed to loader of sub-modules

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sun Nov 8 11:04:59 CST 2015



On 11/08/2015 11:05 AM, Gregory Szorc wrote:
> On Sat, Nov 7, 2015 at 11:39 AM, Pierre-Yves David
> <pierre-yves.david at ens-lyon.org <mailto:pierre-yves.david at ens-lyon.org>>
> wrote:
>
>
>
>     On 11/07/2015 10:49 AM, Gregory Szorc wrote:
>
>         On Mon, Nov 2, 2015 at 6:10 AM, Yuya Nishihara <yuya at tcha.org
>         <mailto:yuya at tcha.org>
>         <mailto:yuya at tcha.org <mailto:yuya at tcha.org>>> wrote:
>
>              # HG changeset patch
>              # User Yuya Nishihara <yuya at tcha.org <mailto:yuya at tcha.org>
>         <mailto:yuya at tcha.org <mailto:yuya at tcha.org>>>
>              # Date 1446380349 -32400
>              #      Sun Nov 01 21:19:09 2015 +0900
>              # Node ID d779ddd9edd51273de2754748dfcc0db1e1e0f72
>              # Parent  58b7f3e93bbab749ab16c09df12aae5ba7880708
>              demandimport: fix level passed to loader of sub-modules
>
>
>     I've pushed that one to the clowncopter.
>
>     Thanks goes to Greg for the review.
>
>
> Come to think of it, this patch should probably be for stable because
> without it, "from ..X import Y" will be broken. This could prevent 3rd
> party extensions which load 3rd party Python packages from working
> correctly. I /think/ this is a regression in 3.6 from my demandimport
> refactoring.

I've move the fix to stable. Thanks for your input.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list