This file is indexed.

/usr/lib/python2.7/dist-packages/rdkit/RDRandom.py is in python-rdkit 201309-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
# $Id$
#
#  Copyright (C) 2003-2006  Greg Landrum and Rational Discovery LLC
#
#   @@ All Rights Reserved @@
#  This file is part of the RDKit.
#  The contents are covered by the terms of the BSD license
#  which is included in the file license.txt, found at the root
#  of the RDKit source tree.
#
""" making random numbers consistent so we get good regressions

"""

import sys

import random as _random
if sys.hexversion >= 0x20303f0:
  _randGen = _random.WichmannHill()
  random = _randGen.random
  randrange = _randGen.randrange
  def seed(val):
    global _randGen,random,randrange
    _randGen = _random.WichmannHill()
    _randGen.whseed(val)
    random = _randGen.random
    randrange = _randGen.randrange
else:
  random = _random.random
  randrange = _random.randrange
  seed = _random.whseed