mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-29 19:36:19 +03:00
5474b2c7d4
These code blocks represent Python console sessions, not Python source code. The pycon lexer understands the ">>>" prompt and output (e.g. a traceback).
17 lines
443 B
ReStructuredText
17 lines
443 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
|
|
``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.
|