[PATCH 2 of 2] py3: make files use absolute_import

Martijn Pieters mj at zopatista.com
Thu Jul 7 13:01:25 EDT 2016


On 7 July 2016 at 15:21, Yuya Nishihara <yuya at tcha.org> wrote:
>> What happens when these are not added to the import-checker blacklist?
>> Is there some unstable ordering somewhere?
>
> Our import-checker gets confused if a module is imported relative to the
> main script. In the following example, "polib" is considered a local module,
> but reordering "polib" and "re" would raise another warning.

Thanks for explaining!

-- 
Martijn Pieters


More information about the Mercurial-devel mailing list