summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-03-05 16:40:11 -0700
committerCharles Harris <charlesr.harris@gmail.com>2014-03-05 16:40:11 -0700
commit683bc33d1407509de8c078698727109b3759dc12 (patch)
treed46cf4a8d692816636770915f482fe6cca114678 /doc
parent0bf8fecf01336a54d147d9929b38673183eb323a (diff)
parentea8975718f7d275dfa2c91bf1de8b3fe6d792d9c (diff)
downloadnumpy-683bc33d1407509de8c078698727109b3759dc12.tar.gz
Merge pull request #4450 from juliantaylor/api-restore
BUG: restore api for file npy_PyFile_Dup and npy_PyFile_DupClose
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.9.0-notes.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/release/1.9.0-notes.rst b/doc/release/1.9.0-notes.rst
index 71631ec70..f999f29b5 100644
--- a/doc/release/1.9.0-notes.rst
+++ b/doc/release/1.9.0-notes.rst
@@ -243,7 +243,12 @@ For example ``np.float_(2) * [1]`` will be an error in the future.
C-API
~~~~~
-None
+The utility function npy_PyFile_Dup and npy_PyFile_DupClose are broken by the
+internal buffering python 3 applies to its file objects.
+To fix this two new functions npy_PyFile_Dup2 and npy_PyFile_DupClose2 are
+declared in npy_3kcompat.h and the old functions are deprecated.
+Due to the fragile nature of these functions it is recommended to instead use
+the python API when possible.
New Features