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

> since they're allowed, I think importlib at least could try to resolve 
> relative paths in a copy of sys.path before searching. 

I agree with this fix. They can be resolved for each new import, if we think 
that's an important behaviour to preserve (might mess with the cache... but 
probably necessary if it's to be backported). But at some point sys.path 
entries need to be made absolute, and it definitely needs to happen before we 
try to load any DLLs.

----------

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

Reply via email to