summaryrefslogtreecommitdiff
path: root/doc/release/upcoming_changes/13605.deprecation.rst
blob: bff12e96575437813f4c7a5a3857113fb2dd345a (plain)
1
2
3
4
5
6
7
8
9
`np.fromfile` and `np.fromstring` will error on bad data
--------------------------------------------------------

In future numpy releases, the functions `np.fromfile` and `np.fromstring`
will throw an error when parsing bad data.
This will now give a ``DeprecationWarning`` where previously partial or
even invalid data was silently returned. This deprecation also affects
the C defined functions c:func:`PyArray_FromString`` and
c:func:`PyArray_FromFile`