-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-108277: Add wrapper for timerfd_create, timerfd_settime, and timerfd_gettime to os module #108382
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
Merged
Merged
gh-108277: Add wrapper for timerfd_create, timerfd_settime, and timerfd_gettime to os module #108382
Changes from 1 commit
Commits
Show all changes
170 commits
Select commit
Hold shift + click to select a range
0f8aaf5
gh-108277: Add wrapper functions for timerfd_create, timerfd_settime,…
m-tmatma 208fd58
📜🤖 Added by blurb_it.
blurb-it[bot] 37f70cd
fix lint error
m-tmatma 6f63cf7
fix typo in doc
m-tmatma 0f47920
Update Modules/posixmodule.c
m-tmatma 03f319d
re-run Tools/clinic/clinic.py
m-tmatma b8e39f2
define HAVE_TIMERFD_API only
m-tmatma 44b3ac7
update What's New file
m-tmatma a549684
Update document
m-tmatma 5e33c3e
fix document
m-tmatma 7da832d
fix document
m-tmatma d0905d9
fix comment
m-tmatma 0eed49a
fix document
m-tmatma fd718d9
fix lint error
m-tmatma 4b89526
fix comment
m-tmatma 75614a1
Fix Sphinx C expr parsing (no semicolons)
AA-Turner 458ae17
Update Doc/library/os.rst
m-tmatma 1f1d22e
Update Modules/posixmodule.c
m-tmatma dda4c31
Update Modules/posixmodule.c
m-tmatma 909c50a
fix compile error
m-tmatma c53a84d
update hash
m-tmatma 7e306f5
use self.assertAlmostEqual
m-tmatma af8a9f2
Merge remote-tracking branch 'upstream/main' into feature/os.timerfd_xxx
m-tmatma 74cdc6c
Update Modules/posixmodule.c
m-tmatma fc585b8
Update Modules/posixmodule.c
m-tmatma 3879a71
Update Modules/posixmodule.c
m-tmatma 04aa70b
Update Modules/posixmodule.c
m-tmatma efe3d1d
re-run Tools/clinic/clinic.py
m-tmatma 132ef60
add document for parameters
m-tmatma c6d9fb0
add param comment
m-tmatma f7af17c
use seealso
m-tmatma 94f248d
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 3366d58
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma d57cfbe
Merge branch 'main' into feature/os.timerfd_xxx
AA-Turner 4b13a5c
Documentation review
AA-Turner 94839ac
Update Doc/whatsnew/3.13.rst
m-tmatma 4c783e8
Fix error on runing Tools/clinic/clinic.py -f Modules/posixmodule.c
m-tmatma b65fd4c
apply the result of 'python3 Tools/clinic/clinic.py -f Modules/posixm…
m-tmatma bdbeef0
rename valut to initial_expiration
m-tmatma e1abd07
rename return value
m-tmatma 50e17c9
reverse the order of set/get functions
m-tmatma d8043a2
merge sections for new functions and new consts
m-tmatma 8024c9e
fix error check
m-tmatma 6e251af
reorder parameters and tuple of return values
m-tmatma 914c7d0
reorder function definition
m-tmatma cd6b32b
move seealso to the end of section
m-tmatma d411858
move code example
m-tmatma 02dac34
reorder initialize to parameters
m-tmatma a819904
change parameter to kw only except for fd
m-tmatma f812cbe
fix document
m-tmatma 6db493f
fix document
m-tmatma fcf3efc
update document
m-tmatma 44bc810
check the value from read()
m-tmatma f742b8f
fix lint error
m-tmatma cbbc97b
refer to negative values
m-tmatma 977f574
add type comment
m-tmatma f86afb2
reorder.
m-tmatma 0491421
fix parameter
m-tmatma de4477d
add supported functions
m-tmatma 3915eea
rename parameter
m-tmatma 4ae90da
fix comment
m-tmatma e380aef
fix const comment
m-tmatma e7d967d
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma c7e8593
update comment on os.timerfd_settime_ns
m-tmatma 1d4d3b5
Fix document
m-tmatma 6565fea
fix lint error
m-tmatma f0623b9
add test params
m-tmatma 64f1571
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma e8c8b60
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 74c12d1
Update Doc/library/os.rst
m-tmatma 8051b9b
Update Doc/library/os.rst
m-tmatma e9d4753
fix typo
m-tmatma ed6d3b2
Update Modules/posixmodule.c
m-tmatma ef0449a
Update Doc/library/os.rst
m-tmatma 1faf245
Update Doc/library/os.rst
m-tmatma 22315c8
Update Doc/library/os.rst
m-tmatma cc63a06
Update Doc/library/os.rst
m-tmatma ec8f2ec
Update Modules/posixmodule.c
m-tmatma 1319814
update by Tools/clinic/clinic.py
m-tmatma 7410a7c
Update Doc/library/os.rst
m-tmatma aed85ab
Update Doc/library/os.rst
m-tmatma 1138cf9
fix document
m-tmatma 95025c5
divide to a new subsection
m-tmatma d0ed353
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 9309e4b
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 3548656
Add comment.
m-tmatma 8a8b706
add select.epoll test case
m-tmatma e1d993f
make flags positional argument and its default value to 0
m-tmatma c2b8ddf
fix timeout
m-tmatma bd23f53
add tests for select.epoll() and os.timerfd_settime_ns
m-tmatma b97d694
make non-blocking for select, epoll tests
m-tmatma c3f1904
fix assert
m-tmatma 3b8e3dc
cleanup epoll
m-tmatma 2db35e3
rename variable of epoll
m-tmatma 180830f
fix code samples
m-tmatma ac7ee82
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 9cec110
move example
m-tmatma 86f5a8e
mention errno.EAGAIN
m-tmatma ce53a4f
change to useful sample
m-tmatma 814cc29
fix comment
m-tmatma a48c3a6
update example
m-tmatma da453b8
fix indentation
m-tmatma 3f9bd62
Add comment
m-tmatma 69b9cfa
define a macro to convert seconds in double.
m-tmatma b2f507a
update comment
m-tmatma d5e782d
update comment
m-tmatma f83058a
update comment
m-tmatma 49e6981
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 765e584
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 3d55e2e
add comment
m-tmatma 0011278
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 6080d32
add comment
m-tmatma 32ba03f
fix code sample
m-tmatma 789b909
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 3a66967
remove log
m-tmatma 817933e
reorder
m-tmatma c090ada
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 0e9f5b3
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma ae6b885
add reference
m-tmatma 79b74b0
move decription
m-tmatma fa00db9
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 20a0674
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 908e3dc
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 171c71a
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 8fb3fdf
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 7c470fb
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 189843a
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 2741533
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 3d527da
Update Doc/library/os.rst
m-tmatma 2fd8804
move and fix the comment of cleanup
m-tmatma 5aba21f
make flags a keyword parameter
m-tmatma dadcf60
Add a subsection for timerfd
AA-Turner 6a77a1b
Rephrase closing
AA-Turner 9d78861
Merge select into the read list, rephrase read
AA-Turner 24ae1d9
3.3 -> 3.13
AA-Turner 552638f
Explain the trigger of system clock change.
m-tmatma 8fde913
Explain error on non-blocking fd.
m-tmatma f417c7c
add description
m-tmatma 4460475
fix sample
m-tmatma ae8c3da
update sample
m-tmatma 4aeb95e
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma f06e352
fix indent
m-tmatma b8e3b23
limit less than 80 chars in a line
m-tmatma ed34c2c
add comment
m-tmatma 3fc0a5a
Update Modules/posixmodule.c
m-tmatma 4783a13
Use const
m-tmatma 7919b09
Confirm non-blocking fd
m-tmatma b2ad6c8
define an utility function
m-tmatma da47484
rename variable
m-tmatma 3661045
check if fd is not inheritable
m-tmatma 6d1e7c7
reorder socket creation
m-tmatma 69897fc
fix comment
m-tmatma 5c78372
create _PyTime_FromSecondsDouble and use _PyTime_AsTimespec
m-tmatma 62782bc
use _PyTime_AsTimespec
m-tmatma 4ff50a3
use _PyTime_FromTimespec and Py_BuildValue
m-tmatma dc15134
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 92b7a32
use pytime_from_double to implement _PyTime_FromSecondsDouble
m-tmatma f4b9865
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma e0f5d7c
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 6f1d788
add error check
m-tmatma 64331c4
fix error handling
m-tmatma 637c746
rename variable
m-tmatma a7e501b
fix warnings
m-tmatma ed8a8c7
remove extra docstring
m-tmatma 750110a
move samples to HOWTO
m-tmatma ccaf48d
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma b334a73
move common code to a utility function
m-tmatma 265ea56
add rounding parameter to _PyTime_FromSecondsDouble
m-tmatma 945ef3c
Merge branch 'main' into feature/os.timerfd_xxx
m-tmatma 6eefda5
replace HAVE_TIMERFD_API with HAVE_TIMERFD_CREATE
m-tmatma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
re-run Tools/clinic/clinic.py
- Loading branch information
commit 03f319dbc4fc89ead6bfab5b41da5db10c3fa83c
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.