This file is indexed.

/usr/lib/python3/dist-packages/aioprocessing/util.py is in python3-aioprocessing 1.0.0-3.

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
import asyncio

def run_in_executor(executor, callback, *args, loop=None, **kwargs):
    if not loop:
        loop = asyncio.get_event_loop()
    if kwargs:
        return loop.run_in_executor(executor,
                                    lambda: callback(*args, **kwargs))
    else:
        return loop.run_in_executor(executor, callback, *args)