Author steve.dower
Recipients graingert, gregory.p.smith, jamesls, lukasz.langa, omnios, steve.dower
Date 2021-07-28.00:24:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1627431869.02.0.000503587487891.issue44070@roundup.psfhosted.org>
In-reply-to
Content
> do you know what the correct usage of importlib.util.spec_from_file_location is to match importlib.import_module ?

Maybe I'm misreading your example, but isn't the correct usage here to pass an absolute location= argument? Or are you suggesting that spec_from_file_location should also make it absolute (in 3.10 and later, since this change has already been reverted in 3.8-9).
History
Date User Action Args
2021-07-28 00:24:29steve.dowersetrecipients: + steve.dower, gregory.p.smith, lukasz.langa, graingert, jamesls, omnios
2021-07-28 00:24:29steve.dowersetmessageid: <1627431869.02.0.000503587487891.issue44070@roundup.psfhosted.org>
2021-07-28 00:24:29steve.dowerlinkissue44070 messages
2021-07-28 00:24:28steve.dowercreate