This file is indexed.

/usr/lib/python2.7/dist-packages/chaco/speedups.py is in python-chaco 4.5.0-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
# This contains python implementations of all the speedups
from _speedups_fallback import *


# cython implementation of speedups. Import these if we can.
try:
    from _cython_speedups import *
except ImportError:
    pass




#try:
#    from numpy import asarray
#    import _speedups

#    def scatterplot_gather_points(index, index_low, index_high,
#                                  value, value_low, value_high,
#                                  index_mask=None, index_sel=None, index_sel_mask=None,
#                                  value_mask=None, value_sel=None, value_sel_mask=None):
#        if index_low is None:
#            index_low = -inf
#        if index_high is None:
#            index_high = inf
#        if value_low is None:
#            value_low = -inf
#        if value_high is None:
#            value_high = inf
#        if index_mask is not None:
#            index_mask = asarray(index_mask, dtype=bool)
#        if value_mask is not None:
#            value_mask = asarray(value_mask, dtype=bool)
#        if index_sel_mask is not None:
#            index_sel_mask = asarray(index_sel_mask, dtype=bool)
#        if value_sel_mask is not None:
#            value_sel_mask = asarray(value_sel_mask, dtype=bool)

#        return _speedups.scatterplot_gather_points(index, index_low, index_high,
#                      value, value_low, value_high,
#                      index_mask=index_mask, index_sel=index_sel,
#                      index_sel_mask=index_sel_mask,
#                      value_mask=value_mask, value_sel=value_sel,
#                      value_sel_mask=value_sel_mask)


#except ImportError:
#    from _speedups_fallback import *