Update of /cvsroot/pywin32/pywin32
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2524
Modified Files:
setup.py
Log Message:
Give up on trying to safely import pywintypesXX.dll without help from an
extension - so we have a new _win32sysloader.cpp which only claim to fame
is that it does not link to pywintypes.dll.
This prevents errors seen in Zope, when an (existing) pywintypesXX.dll
lives in system32, and Zope installs its own next to its python.exe. In
this case, importing (eg) win32api before pywintypes would cause bizarre
type errors as the module was loaded twice.
Index: setup.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/setup.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** setup.py 20 Oct 2005 22:24:00 -0000 1.20
--- setup.py 21 Oct 2005 02:25:49 -0000 1.21
***************
*** 949,952 ****
--- 949,953 ----
("win32inet", "wininet", False),
("win32console", "kernel32", True, 0x0501, "win32/src/win32consolemodule.cpp"),
+ ("_win32sysloader", "", False, 0x0501, "win32/src/_win32sysloader.cpp"),
):
|