I cannot reproduce using cython 0.19.1 on the master branch:

```
$ cython -a sklearn/utils/random.pyx
$ make clean inplace
```

=> no build error.