Skip to content

[3.14] gh-155003: Don't try to close mmap in SharedMemory.__del__ (GH-155070) - #161798

Merged
gpshead merged 1 commit into
python:3.14from
gpshead:backport-4b79d90-3.14
Nov 11, 2026
Merged

gpshead merged 1 commit into
python:3.14from
gpshead:backport-4b79d90-3.14

Conversation

@gpshead

@gpshead gpshead commented Nov 11, 2026

Copy link
Copy Markdown
Member

[3.14] gh-155003: Don't try to close mmap in SharedMemory.del (GH-155070)

  • Don't try to close mmap in SharedMemory.del
  • Add a test for SharedMemory finalization with a live buffer, expand NEWS

(cherry picked from commit 4b79d90)

Co-authored-by: Gregory P. Smith greg@krypto.org

…__ (pythonGH-155070)

* Don't try to close mmap in SharedMemory.__del__
* Add a test for SharedMemory finalization with a live buffer, expand NEWS

---------
(cherry picked from commit 4b79d90)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
@gpshead
gpshead enabled auto-merge (squash) November 11, 2026 06:50
@gpshead gpshead self-assigned this Nov 11, 2026
@gpshead
gpshead merged commit a5e78cb into python:3.14 Nov 11, 2026
50 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants