New submission from Johannes Buchner :
https://docs.python.org/3/library/functions.html#__import__
and
https://docs.python.org/3/library/importlib.html#importlib.import_module
do not list which Exceptions are raised in case the module cannot be imported.
The two exceptions are listed here
New submission from Johannes Buchner :
If I have a script
foo/bar.py
import baz
and create a symlink to it, called barhere.py
ln -s foo/bar.py barhere.py
when I run it, it behaves unexpectedly, specifically it behaves differently
than if I had copied it here. It prefers to import baz from