[Numpy-svn] [numpy/numpy] 649c90: Assume we can use sys.stdout.fileno() and friends.

GitHub noreply@github....
Sat Nov 24 04:54:50 CST 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 649c90831075b5141b56e321f21c576ee58a06a6
      https://github.com/numpy/numpy/commit/649c90831075b5141b56e321f21c576ee58a06a6
  Author: Gabriel <g2p.code@gmail.com>
  Date:   2012-11-23 (Fri, 23 Nov 2012)

  Changed paths:
    M numpy/distutils/exec_command.py

  Log Message:
  -----------
  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.


  Commit: df2958e28d5542d1ae515f6ed0ba1fc0a1c728bd
      https://github.com/numpy/numpy/commit/df2958e28d5542d1ae515f6ed0ba1fc0a1c728bd
  Author: Gabriel <g2p.code@gmail.com>
  Date:   2012-11-23 (Fri, 23 Nov 2012)

  Changed paths:
    M numpy/distutils/exec_command.py

  Log Message:
  -----------
  Code cleanup


  Commit: 089bfa5865cd39e2b40099755e8563d8f0d04f5f
      https://github.com/numpy/numpy/commit/089bfa5865cd39e2b40099755e8563d8f0d04f5f
  Author: Ralf Gommers <ralf.gommers@googlemail.com>
  Date:   2012-11-24 (Sat, 24 Nov 2012)

  Changed paths:
    M numpy/distutils/exec_command.py

  Log Message:
  -----------
  Merge pull request #2766 from g2p/master

Assume we can use sys.stdout.fileno() and friends.


Compare: https://github.com/numpy/numpy/compare/1065cc5f9565...089bfa5865cd


More information about the Numpy-svn mailing list