Release notes for 7.1.2

This commit is contained in:
Hugo 2020-04-25 08:46:40 +03:00 committed by Andrew Murray
parent eced564a44
commit 8149d9eabf
3 changed files with 20 additions and 0 deletions

View File

@ -11,6 +11,9 @@ Changelog (Pillow)
- Fix pickling WebP #4561
[hugovk, radarhere]
7.1.2 (2020-04-25)
------------------
- Raise an EOFError when seeking too far in PNG #4528
[radarhere]

View File

@ -0,0 +1,16 @@
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
``EOFError`` as it should have done, resulting in:
.. code-block:: python
AttributeError: 'NoneType' object has no attribute 'read'
Pillow 7.1.2 now raises the correct exception.

View File

@ -6,6 +6,7 @@ Release Notes
.. toctree::
:maxdepth: 2
7.1.2
7.1.1
7.1.0
7.0.0