Hugo van Kemenade
535bf234c3
Merge pull request #8341 from uploadcare/use-ptr
...
Use ImagingCore.ptr instead of ImagingCore.id
2024-10-07 13:37:44 +03:00
Alexander Karpinsky
8e332eb3b0
Apply suggestions from code review
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-10-07 13:05:13 +04:00
Andrew Murray
feeceb9ae6
Simplified code
2024-10-07 15:34:28 +11:00
Aleksandr Karpinskii
934ae12ed5
rename PyCapsule -> Capsule
2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
7f48567002
Use s# in PyArg_ParseTuple
2024-09-08 17:30:23 +04:00
Aleksandr Karpinskii
f916b5dc87
Use PyCapsule in _imagingmorph
2024-09-08 17:30:23 +04:00
pre-commit-ci[bot]
2973b041c7
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-07-16 12:58:04 +00:00
Hugo van Kemenade
69f967301d
Call PyUnstable_Module_SetGIL() to indicate support of running with GIL disabled
2024-07-08 14:40:35 +03:00
Andrew Murray
dc79a09d62
Merge branch 'main' into null
2023-03-22 18:56:52 +11:00
nulano
e1d0a96404
remove unused version value
2023-03-21 22:05:27 +00:00
Andrew Murray
6328662248
PyUnicode_* may return NULL
2023-03-20 17:36:55 +11:00
Andrew Murray
b3d7823740
Decrement reference count
2023-03-12 00:11:48 +11:00
Andrew Murray
c63b0ca210
Decrement reference count
2023-03-11 18:32:43 +11:00
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