This is an archive of the discontinued Mercurial Phabricator instance.

import-checker: allow all absolute imports of stdlib modules
ClosedPublic

Authored by martinvonz on Dec 18 2019, 5:30 PM.

Details

Summary

Before this patch, we didn't allow imports like

from importlib import resources

(That's the reason I used import importlib.resources in D7629.)

I think that form is still an absolute import, so I don't think we
forbade on purpose.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.