Commit Graph

11 Commits

Author SHA1 Message Date
Andrew Murray
929dbba834 Handle failure from PyDict_New or PyList_New 2023-03-10 17:37:06 +11:00
Andrew Murray
46b7e86bab Format with ClangFormat 2021-01-03 14:17:51 +11:00
Axel Huebl
f79379ed7c Imaging.h: confusion with system
The file `libImaging/Imaging.h` gets installed flat on
Ubuntus into the public Python includes.

When building a newer version of Pillow from source and
hinting the Python includes "too early" in includes, e.g.
in package managers, this can confuse the two files and
pick up the external file over the internal one. With
different versions, this mismatch can lead to build errors,
e.g. undefined macros.

The most robust way to avoid this is to pre-fix the internal
include accordingly, so that the relative path to the including
file has to match as well.
2020-09-17 18:06:45 +10:00
Andrew Murray
c1d9931adc Added braces 2020-05-10 19:56:36 +10:00
Hugo
af770a6c55 Drop support for EOL Python 2.7 2019-10-07 14:30:59 +03:00
Andrew Murray
3a70f4b8fc Fixed typo 2018-06-26 22:07:40 +10:00
Alexander
997e554593 Revert ValueErrors to RuntimeErrors in ImageMorph module 2018-04-22 20:52:38 +03:00
Alexander
101c095e99 Add tests for wrong types 2018-04-22 19:51:57 +03:00
Alexander
f826dc37d1 Fix incorrect image type checking in _imagingmorph module 2018-03-25 12:54:13 +03:00
Andrew Murray
c7427ae7f6 Fixed typos [ci skip] 2018-03-10 14:48:01 +11:00
wiredfool
0bb3f4fee9 source layout reorg 2017-12-28 14:49:47 +00:00