[Patches] [Patch #101676] Detect conflicting Python DLL on module import under Windows

noreply@sourceforge.net noreply@sourceforge.net
Tue, 26 Sep 2000 22:49:02 -0700


Patch #101676 has been updated. 

Project: 
Category: core (C code)
Status: Open
Summary: Detect conflicting Python DLL on module import under Windows

Follow-Ups:

Date: 2000-Sep-26 22:49
By: db3l

Comment:
This patch is an attempt to provide similar functionality to an earlier proposed patch (101651) but addressing Mark's concern about a process having two DLLs loaded explicitly.  This patch parses the actual module import table after the module has been loaded into memory to determine which Python DLL (identified by a "python" prefix followed by just numbers) is loaded specifically by the module as opposed to just being in the process space, and compares that to the current Python version, complaining (and identifying the referenced DLL in the error) if there is a mismatch.

-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=101676&group_id=5470