Release the GIL for long-running functions? #6410
-
Would it be possible to release the GIL for long-running functions? e.g WebPAnimEncoder.add (especially at high quality settings). |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Could you provide some more information? What negative situation are you experiencing that caused you to figure out that Pillow wasn't releasing? |
Beta Was this translation helpful? Give feedback.
-
You may be interested in #7782, which releases the GIL while calling |
Beta Was this translation helpful? Give feedback.
-
You may be interested in #8199, where Pillow 11.0.0 will work with the experimental free-threaded mode of Python 3.13. |
Beta Was this translation helpful? Give feedback.
-
#8386 will finally release the GIL for |
Beta Was this translation helpful? Give feedback.
#8386 will finally release the GIL for
WebPAnimEncoderAdd