Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-08a0d10-3.13
Jul 22, 2026
Merged

[3.13] gh-154435: Fix os.posix_fadvise() and os.posix_fallocate() on DragonFly BSD (GH-154436)#154453
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-08a0d10-3.13

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>
@serhiy-storchaka
serhiy-storchaka merged commit 67cdf27 into python:3.13 Jul 22, 2026
41 of 42 checks passed
@miss-islington
miss-islington deleted the backport-08a0d10-3.13 branch July 22, 2026 09:02
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