From d8213a245d648d0740cdd9f01f70c1998c312df2 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 7 Apr 2020 20:39:40 +1000 Subject: [PATCH] ImageFile.raise_ioerror is now deprecated [ci skip] --- docs/deprecations.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/deprecations.rst b/docs/deprecations.rst index 227a5bc82..350a6002c 100644 --- a/docs/deprecations.rst +++ b/docs/deprecations.rst @@ -12,6 +12,15 @@ Deprecated features Below are features which are considered deprecated. Where appropriate, a ``DeprecationWarning`` is issued. +ImageFile.raise_ioerror +~~~~~~~~~~~~~~~~~~~~~~~ + +.. deprecated:: 7.2.0 + +IOError was merged into OSError in Python 3.3. So, ``ImageFile.raise_ioerror`` +is now deprecated and will be removed in a future released. Use +``ImageFile.raise_oserror`` instead. + PILLOW_VERSION constant ~~~~~~~~~~~~~~~~~~~~~~~