Skip to content

Conversation

aisk
Copy link
Member

@aisk aisk commented Oct 8, 2025

Add fcntl.preallocate as a wrapper for F_PREALLOCATE cmd on macOS.


📚 Documentation preview 📚: https://cpython-previews--139795.org.readthedocs.build/

@aisk
Copy link
Member Author

aisk commented Oct 9, 2025

Just realized that fcntl.fcntl can take an object that implements the buffer protocol as the argument, so we don't need to add a new function to do this.

Closing this PR and will make a new PR using this approach.

@aisk aisk closed this Oct 9, 2025
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.

1 participant