Pillow/docs/releasenotes/7.1.2.rst
2024-03-17 01:17:38 +02:00

17 lines
449 B
ReStructuredText

7.1.2
-----
Fix another regression seeking PNG files
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This fixes a regression introduced in 7.1.0 when adding support for APNG files.
When calling ``seek(n)`` on a regular PNG where ``n > 0``, it failed to raise an
:py:exc:`EOFError` as it should have done, resulting in:
.. code-block:: pycon
AttributeError: 'NoneType' object has no attribute 'read'
Pillow 7.1.2 now raises the correct exception.