[Numpy-svn] [numpy/numpy] 72ab38: ENH: let genfromtxt return empty array for empty i...

noreply at github.com noreply at github.com
Sun Jul 31 07:10:45 EDT 2011


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy

  Commit: 72ab385d17d9067f97652aeae87a820f7de41298
      https://github.com/numpy/numpy/commit/72ab385d17d9067f97652aeae87a820f7de41298
  Author: Paul Anton Letnes <paul.anton.letnes at gmail.com>
  Date:   2011-07-31 (Sun, 31 Jul 2011)

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

  Log Message:
  -----------
  ENH: let genfromtxt return empty array for empty input file instead of an error.

A warning for empty files is issued, including file name.  Closes #1793.





More information about the Numpy-svn mailing list