Enable memory mapping on PyPy by radarhere · Pull Request #8840 · python-pillow/Pillow
Navigation Menu
{{ message }}
python-pillow / Pillow Public
- Notifications You must be signed in to change notification settings
- Fork 2.4k
Merged
hugovk merged 1 commit intopython-pillow:mainfrom
Mar 29, 2025Merged
Enable memory mapping on PyPy#8840
hugovk merged 1 commit intopython-pillow:mainfrom
Enable memory mapping on PyPy#8840
hugovk merged 1 commit intopython-pillow:mainfrom
Conversation
radarhere commented Mar 28, 2025
| """ | ||
| if getattr(self, "map", None): | ||
| if sys.platform == "win32" and hasattr(sys, "pypy_version_info"): | ||
| self.map.close() |
Copy link Copy Markdown
Member Author
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without this change, test_fd_leak() fails - https://github.com/radarhere/Pillow/actions/runs/14129067570/job/39584722751#step:28:1319
radarhere
deleted the
pypy_mmap
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment