    fprintf(fp,"#if defined(WIN32)\n");
    fprintf(fp,"extern \"C\" { __declspec( dllexport ) PyObject *PyVTKClass_%sNew(char *); }\n",
            data->ClassName);
++  /* Disable unreachable code warnings.  Visual Studio assumes that
++   * externs won't throw, so it spits out warnings with our try /
++   * catch blocks around VTK method calls. */
++  fprintf(fp, "#pragma warning( disable: 4207 )\n");
+   fprintf(fp,"#else\n");
+   fprintf(fp,"extern \"C\" { PyObject *PyVTKClass_%sNew(char *); }\n",
+           data->ClassName);

retrieving revision 1.90
diff -u -r1.90 vtkPythonUtil.cxx
--- Common/vtkPythonUtil.cxx	6 Aug 2008 20:23:20 -0000	1.90
+++ Common/vtkPythonUtil.cxx	27 May 2009 14:19:14 -0000
@@ -22,6 +22,7 @@
 #include "vtkDataArray.h"
 #include "vtkObject.h"

retrieving revision 1.91
diff -u -r1.91 vtkWrapPython.c
--- Wrapping/vtkWrapPython.c	10 Dec 2008 20:58:40 -0000	1.91
+++ Wrapping/vtkWrapPython.c	27 May 2009 15:19:00 -0000
@@ -1056,6 +1056,13 @@
               fprintf(fp,"    else\n      {\n");
               sprintf(methodname,"op->%s",currentFunction->Name);
