Skip to content

Commit 8149d9e

Browse files
hugovkradarhere
authored andcommitted
Release notes for 7.1.2
1 parent eced564 commit 8149d9e

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

CHANGES.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ Changelog (Pillow)
1111
- Fix pickling WebP #4561
1212
[hugovk, radarhere]
1313

14+
7.1.2 (2020-04-25)
15+
------------------
16+
1417
- Raise an EOFError when seeking too far in PNG #4528
1518
[radarhere]
1619

docs/releasenotes/7.1.2.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
7.1.2
2+
-----
3+
4+
Fix another regression seeking PNG files
5+
========================================
6+
7+
This fixes a regression introduced in 7.1.0 when adding support for APNG files.
8+
9+
When calling ``seek(n)`` on a regular PNG where ``n > 0``, it failed to raise an
10+
``EOFError`` as it should have done, resulting in:
11+
12+
.. code-block:: python
13+
14+
AttributeError: 'NoneType' object has no attribute 'read'
15+
16+
Pillow 7.1.2 now raises the correct exception.

docs/releasenotes/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release Notes
66
.. toctree::
77
:maxdepth: 2
88

9+
7.1.2
910
7.1.1
1011
7.1.0
1112
7.0.0

0 commit comments

Comments
 (0)