Steve Dower <steve.do...@python.org> added the comment:

> 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).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44070>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to