This file is indexed.

/usr/share/pyshared/guppy/heapy/Console.py is in python-guppy 0.1.9-2ubuntu4.

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
#._cv_part guppy.heapy.Console

import code 

class Console(code.InteractiveConsole):
    EOF_key_sequence = '-'
    def __init__(self, stdin, stdout, locals=None, filename="<console>"):
	self.stdin = stdin
	self.stdout = stdout
	code.InteractiveConsole.__init__(self, locals, filename)

    def raw_input(self, prompt=""):
        """Write a prompt and read a line.

        The returned line does not include the trailing newline.
        When the user enters the EOF key sequence, EOFError is raised.

        """
	self.write(prompt)
	line = self.stdin.readline()
        if not line:
            raise EOFError
        line=line.rstrip()
	if line == self.EOF_key_sequence:
	    raise EOFError
	else:
	    return line


    def write(self, data):
	self.stdout.write(data)