This file is indexed.

/usr/include/swiginac/pyexceptions.i is in python-swiginac 1.5.1.1-1build2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
%exception {
   try {
      $action
   }
   // all logic_error subclasses
   catch (std::logic_error &e) {
      PyErr_SetString(PyExc_StandardError, const_cast<char*>(e.what()));
      return NULL;
   }
   // all runtime_error subclasses
   catch (std::runtime_error &e) {
      PyErr_SetString(PyExc_RuntimeError, const_cast<char*>(e.what()));
      return NULL;
   }
   // all the rest
   catch (std::exception &e) {
      PyErr_SetString(PyExc_Exception, const_cast<char*>(e.what()));
      return NULL;
   }
}