summaryrefslogtreecommitdiff
path: root/doc/release/upcoming_changes/23105.compatibility.rst
blob: 8a0b677e533c5ef7ae5e5eef2386f31b34797d09 (plain)
1
2
3
4
5
* When loading data from a file handle using ``np.load``,
  if the handle is at the end of file, as can happen when reading
  multiple arrays by calling ``np.load`` repeatedly, numpy previously
  raised ``ValueError`` if ``allow_pickle=False``, and ``OSError`` if
  ``allow_pickle=True``. Now it raises ``EOFError`` instead, in both cases.