Skip to content

Conversation

@radarhere
Copy link
Member

tonybaloney/pytest-freethreaded#11 noted a segfault that can occur under free-threading with Tests/test_file_jpeg.py::test_qtables. I can replicate this with --require-gil-disabled - https://github.com/radarhere/Pillow/actions/runs/11572743510

Changing the test to save to a BytesIO instance rather than writing repeatedly to the same temporary path fixes this specific test - https://github.com/radarhere/Pillow/actions/runs/11572819452

Co-authored-by: Hugo van Kemenade <[email protected]>
@hugovk hugovk merged commit 16372dd into python-pillow:main Oct 29, 2024
45 of 46 checks passed
@radarhere radarhere deleted the qtables branch October 29, 2024 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants