Skip to content

Commit f6358a6

Browse files
committed
Release notes for 7.1.2
1 parent e038c84 commit f6358a6

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

CHANGES.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Changelog (Pillow)
33
==================
44

5+
7.1.2 (2020-04-25)
6+
------------------
7+
8+
- Raise an EOFError when seeking too far in PNG #4528
9+
[radarhere]
10+
511
7.1.1 (2020-04-02)
612
------------------
713

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)