[Numpy-svn] [numpy/numpy] b82c1d: ENH: Make savetxt work with file like objects.

GitHub noreply at github.com
Thu Aug 15 21:00:49 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: b82c1df6f99c62a120dfd9d5c606110d593d96e7
      https://github.com/numpy/numpy/commit/b82c1df6f99c62a120dfd9d5c606110d593d96e7
  Author: Daniel <dabi at blazemail.com>
  Date:   2013-08-15 (Thu, 15 Aug 2013)

  Changed paths:
    M numpy/lib/npyio.py

  Log Message:
  -----------
  ENH: Make savetxt work with file like objects.

Accept any object with a "write" method as that is the only method
called by the code.


  Commit: ebfccd27a895fc2e28c2f1a2792feaea5d3913d3
      https://github.com/numpy/numpy/commit/ebfccd27a895fc2e28c2f1a2792feaea5d3913d3
  Author: Daniel <dabi at blazemail.com>
  Date:   2013-08-15 (Thu, 15 Aug 2013)

  Changed paths:
    M numpy/lib/tests/test_io.py

  Log Message:
  -----------
  TST: Test that savetxt works with objects having a write method.


  Commit: a18d7c493a0aee6becea601a37d878c87bb43f3a
      https://github.com/numpy/numpy/commit/a18d7c493a0aee6becea601a37d878c87bb43f3a
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2013-08-15 (Thu, 15 Aug 2013)

  Changed paths:
    M numpy/lib/npyio.py
    M numpy/lib/tests/test_io.py

  Log Message:
  -----------
  Merge pull request #3626 from charris/gh-3397

gh-3397


Compare: https://github.com/numpy/numpy/compare/37b6baa7c73b...a18d7c493a0a


More information about the Numpy-svn mailing list