[Numpy-svn] [numpy/numpy] f5b0ce: BUG: raise IOError on not a file in python2
GitHub
noreply at github.com
Sun Feb 7 14:00:09 EST 2016
Branch: refs/heads/maintenance/1.11.x
Home: https://github.com/numpy/numpy
Commit: f5b0ce90e72760ac8fde2641995995a90760b70c
https://github.com/numpy/numpy/commit/f5b0ce90e72760ac8fde2641995995a90760b70c
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date: 2016-02-07 (Sun, 07 Feb 2016)
Changed paths:
M numpy/core/include/numpy/npy_3kcompat.h
M numpy/core/src/multiarray/methods.c
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
BUG: raise IOError on not a file in python2
The change in 5225e4c2007 did not account for PyFile_AsFile does not
raise an error on invalid input, add the handling to equalize our
wr5225e4c2007 apper function.
closes gh-7200
Commit: 13d863396b7c5dd0a9b3a9ac18773156c381972c
https://github.com/numpy/numpy/commit/13d863396b7c5dd0a9b3a9ac18773156c381972c
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-02-07 (Sun, 07 Feb 2016)
Changed paths:
M numpy/core/include/numpy/npy_3kcompat.h
M numpy/core/src/multiarray/methods.c
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
Merge pull request #7204 from charris/backport-7201
Backport 7201, BUG: raise IOError on not a file in python2
Compare: https://github.com/numpy/numpy/compare/98e1b286407e...13d863396b7c
More information about the Numpy-svn
mailing list