mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-02 02:43:06 +03:00
Merge pull request #3553 from radarhere/releasenotes
Added release notes for #3540
This commit is contained in:
commit
e946ee48a3
|
@ -25,3 +25,12 @@ The addition of limited APNG support to the PNG plugin also overwrote the MIME
|
||||||
type for PNG files, causing "image/apng" to be returned as the MIME type of
|
type for PNG files, causing "image/apng" to be returned as the MIME type of
|
||||||
both APNG and PNG files. This has been fixed so the MIME type of PNG files is
|
both APNG and PNG files. This has been fixed so the MIME type of PNG files is
|
||||||
"image/png".
|
"image/png".
|
||||||
|
|
||||||
|
File closing
|
||||||
|
^^^^^^^^^^^^
|
||||||
|
|
||||||
|
A regression caused an unsupported image file to report a
|
||||||
|
``ValueError: seek of closed file`` exception instead of an ``OSError``. This
|
||||||
|
has been fixed by ensuring that image plugins only close their internal ``__fp``
|
||||||
|
if they are not the same as ``ImageFile``'s ``fp``, allowing each to manage their own
|
||||||
|
file pointers.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user