This file is indexed.

/usr/share/pyshared/nitime/lazy.py is in python-nitime 0.4-2.

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
"""
Commonly used nitime lazy imports are defined here, so they can be reused
throughout nitime. For an explanation of why we use lazily-loaded modules, and
how you can leverage this machinery in your code, see
:mod:`nitime.lazyimports`.

Lazily-loaded package have almost the same name as the
corresponding package's import string, except for periods are replaced with
underscores. For example, the way to lazily import ``matplotlib.mlab`` is via

    >>> from nitime.lazy import matplotlib_mlab as mlab

At this time, all lazy-loaded packages are defined manually. I (pi) made
several attempts to automate this process, such that any arbitrary package
``foo.bar.baz`` could be imported via ``from nitime.lazy import foo_bar_baz as
baz`` but had limited success.

Currently defined lazy imported packages are (remember to replace the ``.``
with ``_``) ::

    matplotlib.mlab
    scipy
    scipy.fftpack
    scipy.interpolate
    scipy.linalg
    scipy.signal
    scipy.signal.signaltools
    scipy.stats
    scipy.stats.distributions


If you want to lazily load another package in nitime, please add it to this
file, and then ``from nitime.lazy import your_new_package``.

If there's a package that you would like to lazily load in your own code that
is not listed here, use the :class:`LazyImport` class, which is in
:mod:`nitime.lazyimports`.
"""
from .lazyimports import LazyImport

# matplotlib
matplotlib_mlab = LazyImport('matplotlib.mlab')

# scipy
scipy = LazyImport('scipy')
scipy_fftpack = LazyImport('scipy.fftpack')
scipy_interpolate = LazyImport('scipy.interpolate')
scipy_linalg = LazyImport('scipy.linalg')
scipy_signal = LazyImport('scipy.signal')
scipy_signal_signaltools = LazyImport('scipy.signal.signaltools')
scipy_stats = LazyImport('scipy.stats')
scipy_stats_distributions = LazyImport('scipy.stats.distributions')

def enabled():
    "Returns ``True`` if LazyImports are globally enabled"
    import nitime.lazyimports as l
    return not l.disable_lazy_imports