This file is indexed.

/usr/share/doc/python-exconsole/README.rst is in python-exconsole 0.1.4-1.

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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
exconsole
=========

Emergency/postmortem Python console

Installation from PyPI::

    pip install python-exconsole

DEB and RPM packages are available in Ajenti repositories: http://docs.ajenti.org/man/install/general.html

Quick start::

    import exconsole
    exconsole.register()

    do_dangerous_stuff()

Console can be invoked by sending **SIGQUIT** or just pressing ``Ctrl-\``

Example of work::

    Activating emergency console
    ----------------------------
    Caused by:
    ZeroDivisionError
    integer division or modulo by zero

    Stack frames:
      [  0] example.py:17
              
      [  1] example.py:15
                  Tester().test()
      [  2] example.py:9
                      self.inner()
      [  3] example.py:6
                      self.divide(2, 0)
    > [  4] example.py:3
                      return a / b
    On frame 4
    Source:
               def divide(self, a, b):
        >>         return a / b

    Press Ctrl-D to leave console
    Type "_help()"" for built-in commands

    >>> print a,b
    2 0
    >>> _f(3)
    On frame 3
    Source:
               def inner(self):
        >>         self.divide(2, 0)

    >>> print self
    <__main__.Tester instance at 0x7f67c9a0e440>