Re: Importlib behaves differently when importing pyd file

2022-11-18 Thread Jach Feng
Dieter Maurer 在 2022年11月17日 星期四凌晨1:12:20 [UTC+8] 的信中寫道: > Jach Feng wrote at 2022-11-15 22:52 -0800: > >My working directory d:\Works\Python\ has a package 'fitz' looks like this: > > > >fitz\ > >__init__.py > >fitz.py > >utils.py > >_fitz.pyd > > > >The

Re: Importlib behaves differently when importing pyd file

2022-11-16 Thread Dieter Maurer
Jach Feng wrote at 2022-11-15 22:52 -0800: >My working directory d:\Works\Python\ has a package 'fitz' looks like this: > >fitz\ >__init__.py >fitz.py >utils.py >_fitz.pyd > >There is a statement in fitz.py: >return importlib.import_module('fitz._fitz') > >It