Skip to content

gh-96694: add F_GETLK wrapper in fcntl module #112372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eqvinox
Copy link

@eqvinox eqvinox commented Nov 24, 2023

Updated version of #96695, not sure who to bribe to make anything happen here?


Not much to say here, just an added wrapper to do fcntl(F_GETLK) without having to muck around struct.unpack

First PR, feedback very welcome.


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

@eqvinox
Copy link
Author

eqvinox commented Sep 20, 2024

No idea how to get someone to review this… I'd really like to stop mucking around with ctypes for a basic POSIX API 😢

@serhiy-storchaka can you look at this? It's a really simple wrapper and has an unit test.

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