Skip to content

[3.14] gh-154435: Fix os.posix_fadvise() and os.posix_fallocate() on DragonFly BSD (GH-154436)#154452

Open
miss-islington wants to merge 1 commit into
python:3.14from
miss-islington:backport-08a0d10-3.14
Open

[3.14] gh-154435: Fix os.posix_fadvise() and os.posix_fallocate() on DragonFly BSD (GH-154436)#154452
miss-islington wants to merge 1 commit into
python:3.14from
miss-islington:backport-08a0d10-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

They return -1 and set errno instead of returning the error number, so
OSError was raised with a meaningless error code.
(cherry picked from commit 08a0d10)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 4.8 noreply@anthropic.com

…ragonFly BSD (pythonGH-154436)

They return -1 and set errno instead of returning the error number, so
OSError was raised with a meaningless error code.
(cherry picked from commit 08a0d10)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants