Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27760/win32/src
Modified Files:
win32pipe.i
Log Message:
Avoid setting a Python error without returning NULL. There may be an
issue with a py2exe generated script using win32pipe when py2exe bundling
is enabled on Win9x, but this wasn't the way to handle it!
Index: win32pipe.i
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32pipe.i,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** win32pipe.i 18 May 2005 02:38:49 -0000 1.12
--- win32pipe.i 10 Jan 2006 00:21:28 -0000 1.13
***************
*** 92,98 ****
// Setup g_fUsingWin9x and module path correctly...
{
! if (!LoadModulePath()) {
! PyErr_SetString(PyExc_RuntimeError, "Could not determine the module base path!?");
! }
OSVERSIONINFO osvi;
--- 92,96 ----
// Setup g_fUsingWin9x and module path correctly...
{
! LoadModulePath();
OSVERSIONINFO osvi;
|