+diff -Naur --exclude=CVS --exclude=.git ParaView-4.2.0_SRC/Qt/Python/pqPythonShell.cxx ParaView-4.2.0_SRC.new/Qt/Python/pqPythonShell.cxx
+--- ParaView-4.2.0_SRC/Qt/Python/pqPythonShell.cxx 2014-09-23 18:46:44.000000000 +0400
++++ ParaView-4.2.0_SRC.new/Qt/Python/pqPythonShell.cxx 2014-12-19 15:40:01.000000000 +0300
+@@ -118,6 +118,7 @@
+ /// string list.
+ QStringList getPythonAttributes(const QString& pythonObjectName)
+ {
++ VTK_PY_GIL_ENSURE
+ if (this->Interpreter == NULL ||
+ this->Interpreter->GetInteractiveConsoleLocalsPyObject() == NULL)
+ {
+@@ -191,7 +192,7 @@
+ }
+ Py_DECREF(object);
+ }
+-
++ VTK_PY_GIL_RELEASE
+ return results;
+ }
+ };