This file is indexed.

/usr/lib/python3/dist-packages/postgresql/protocol/message_types.py is in python3-postgresql 1.1.0-2+b3.

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
##
# .protocol.message_types
##
"""
Data module providing a sequence of bytes objects whose value corresponds to its
index in the sequence.

This provides resource for buffer objects to use common message type objects.

WARNING: It's tempting to use the 'is' operator and in some circumstances that
may be okay. However, it's possible (sys.modules.clear()) for the extension
modules' copy of this to become inconsistent with what protocol.element3 and
protocol.xact3 are using, so it's important to **not** use 'is'.
"""
message_types = tuple([bytes((x,)) for x in range(256)])