From f7e47dffc4cd26ae7a37a8a8d2c387378cf746a7 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 21 Jun 2020 11:01:30 +1000 Subject: [PATCH 1/3] Added release notes for #4605 [ci skip] --- docs/releasenotes/7.2.0.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/releasenotes/7.2.0.rst b/docs/releasenotes/7.2.0.rst index 904e9d5ab..00baca474 100644 --- a/docs/releasenotes/7.2.0.rst +++ b/docs/releasenotes/7.2.0.rst @@ -27,3 +27,9 @@ Moved from the legacy :py:class:`PIL.TiffImagePlugin.ImageFileDirectory_v1` to :py:class:`PIL.Image.Exif`. This means that Exif RATIONALs and SIGNED_RATIONALs are now read as :py:class:`PIL.TiffImagePlugin.IFDRational`, instead of as a tuple with a numerator and a denominator. + +TIFF BYTE tags format +^^^^^^^^^^^^^^^^^^^^^ + +TIFF BYTE tags were previously read as a tuple containing a bytestring. They +are now read as just a single bytestring. From 659ce90af1b67151ad5089798bc2252239c345c1 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 21 Jun 2020 19:09:09 +1000 Subject: [PATCH 2/3] Fixed typo [ci skip] --- docs/deprecations.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deprecations.rst b/docs/deprecations.rst index 203921c0b..885fba4cd 100644 --- a/docs/deprecations.rst +++ b/docs/deprecations.rst @@ -18,7 +18,7 @@ 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 +is now deprecated and will be removed in a future release. Use ``ImageFile.raise_oserror`` instead. PILLOW_VERSION constant From c76dfbaef597de34baefb9d16d0a174e2877b73e Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 21 Jun 2020 19:11:09 +1000 Subject: [PATCH 3/3] Added release notes for #4536 [ci skip] --- docs/releasenotes/7.2.0.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/releasenotes/7.2.0.rst b/docs/releasenotes/7.2.0.rst index 00baca474..26a1464a4 100644 --- a/docs/releasenotes/7.2.0.rst +++ b/docs/releasenotes/7.2.0.rst @@ -33,3 +33,13 @@ TIFF BYTE tags format TIFF BYTE tags were previously read as a tuple containing a bytestring. They are now read as just a single bytestring. + +Deprecations +^^^^^^^^^^^^ + +ImageFile.raise_ioerror +~~~~~~~~~~~~~~~~~~~~~~~ + +``IOError`` was merged into ``OSError`` in Python 3.3. So, ``ImageFile.raise_ioerror`` +is now deprecated and will be removed in a future release. Use +``ImageFile.raise_oserror`` instead.