Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/deprecations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 16 additions & 0 deletions docs/releasenotes/7.2.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,19 @@ 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.

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.