numpy/numpy — pull request #2766 by g2p (2012-11-23 23:02:40+00:00)
Title: Assume we can use sys.stdout.fileno() and friends.

The workaround shouldn't be necessary in a recent python shell.
Tested in python, ipython.

In fact, distutils is almost never imported and run manually from an
interactive shell.

This removes the use of `sys.__stdout__`, which broke with distribute
0.6.30 on Python 3.