A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-April/014499.html below:

[Python-Dev] Importing extensions on Windows 95

[Python-Dev] Importing extensions on Windows 95 [Python-Dev] Importing extensions on Windows 95Mark Hammond MarkH@ActiveState.com
Mon, 30 Apr 2001 23:01:33 +1000
> abc/
>     __init__.py
>     mxABC.pyd
>     mamba.dll
>
> mxABC.pyd needs mamba.dll.
>
> > My Win98 box uses absolute paths for all imports when using -vv
>
> Are you sure ? Please CD to the C:\Python21 dir and then try

Right - I am with you now...

> importing extensions using these relative paths. I think we could
> solve the problem by making the pathname which is passed to
> LoadLibraryEx() in dynload_win.c absolute.

Just calling GetFullPathName() before the LoadLibEx() would seem a
reasonable and appropriate patch.  Keeps it a long way from the "*in
general*" Guido was concerned about, and sounds low-risk to me!

Ahh - Guido just OK'd it, so go for it ;-)

Mark.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4