diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2025-04-24 16:17:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-24 16:17:11 (GMT) |
commit | 9f5994b94cb6b8526bcb8fa29a99656dc403e25e (patch) | |
tree | 929e24c1126ec6423564f6734f359b6927b1a0bf /Python/bytecodes.c | |
parent | 8c975b0fddf0df4172634894f61a7d7c8db48255 (diff) | |
download | cpython-9f5994b94cb6b8526bcb8fa29a99656dc403e25e.zip cpython-9f5994b94cb6b8526bcb8fa29a99656dc403e25e.tar.gz cpython-9f5994b94cb6b8526bcb8fa29a99656dc403e25e.tar.bz2 |
gh-132742: Refactor fcntl.fcntl() and fcntl.ioctl() (GH-132768)
* Support arbitrary bytes-like objects, not only bytes, in fcntl().
* The fcntl() buffer argument is now null-terminated.
* Automatically retry an ioctl() system calls failing with EINTR.
* Release the GIL for an ioctl() system call even for large bytes-like object.
* Do not silence arbitrary errors whet try to get a buffer.
* Optimize argument parsing, check the argument type before trying to get
a buffer or convert it to integer.
* Fix some error messages.
Diffstat (limited to 'Python/bytecodes.c')
0 files changed, 0 insertions, 0 deletions