Skip to content

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

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

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

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 08a0d10709f04cf03260e5e852381cecb1c531e1)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) July 22, 2026 09:00
@serhiy-storchaka
serhiy-storchaka merged commit a5d357c into python:3.15 Jul 24, 2026
98 of 100 checks passed
@miss-islington
miss-islington deleted the backport-08a0d10-3.15 branch July 24, 2026 11:46
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