[Python-checkins] CVS: python/dist/src/Python bltinmodule.c,2.147,2.148

Guido van Rossum guido@cnri.reston.va.us
Thu, 17 Feb 2000 10:18:13 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Python
In directory eric:/projects/python/develop/guido/src/Python

Modified Files:
	bltinmodule.c 
Log Message:
Changes by Mark Hammond related to the new WindowsError exception.


Index: bltinmodule.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.147
retrieving revision 2.148
diff -C2 -r2.147 -r2.148
*** bltinmodule.c	1999/12/23 14:16:55	2.147
--- bltinmodule.c	2000/02/17 15:18:10	2.148
***************
*** 2263,2266 ****
--- 2263,2269 ----
  PyObject *PyExc_ValueError;
  PyObject *PyExc_ZeroDivisionError;
+ #ifdef MS_WINDOWS
+ PyObject *PyExc_WindowsError;
+ #endif
  
  PyObject *PyExc_MemoryErrorInst;
***************
*** 2304,2307 ****
--- 2307,2313 ----
  	{"TypeError",          &PyExc_TypeError,          1},
  	{"ValueError",         &PyExc_ValueError,         1},
+ #ifdef MS_WINDOWS
+ 	{"WindowsError",       &PyExc_WindowsError,       1},
+ #endif
  	{"ZeroDivisionError",  &PyExc_ZeroDivisionError,  1},
  	{NULL, NULL}