Are *.pyd's universal?

Carl Banks pavlovevidence at gmail.com
Fri Oct 30 19:13:01 EDT 2009


On Oct 30, 8:43 am, Dave Angel <da... at ieee.org> wrote:
> And I'm guessing that CPython searches down sys.path, and when it finds
> the module, gives a full path to LoadLibrary(), in which case the DLL
> search path is moot.

It's not Python that's the issue.  The issue is that if you have a
module with a .dll extension, other programs could accidentally try to
load that module instead of the intended dll, if the module is in the
current directory or system path.  Modules will sometimes find
themselves on the path in Windows, so the fact that Windows performs a
library search on the path is quite significant.


Carl Banks



More information about the Python-list mailing list