Repository navigation
gh-110850: Add PyTime_t C API #115215
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-110850: Add PyTime_t C API #115215
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
4a8657c
gh-110850: Add PyTime_t C API
vstinner 3f60d67
Address Sam's review: update doc
vstinner a0c69bc
Avoid reference to epoch_
vstinner 8397a05
Make the docs more concise & rename to "Clock C API"
encukou 793eb58
Doc: Make nanoseconds a detail; add PyTime_AsNanoseconds
encukou 069eb79
Implement the fallible API and PyTime_AsNanoseconds
encukou 744f53d
Use PY_INT64_T in the public header
encukou 38028a3
Adjust What's New & News
encukou 74946d2
Test PyTime_AsNanoseconds
encukou 8f7992e
Add (indirect) tests for PyTime_AsNanoseconds
encukou ac94566
Remove PyTime_AsNanoseconds
encukou f4fc849
Update docs to mention PyTime_t size and resolution, remove PyTime_As…
encukou 3d43b73
Dedent docs for PyTime_MIN & MAX constants
encukou ba1c30b
Use int64_t rather than PY_INT64_T
encukou 9fb5430
Add back full implementations of infallible functions
encukou 47f5d07
Add notes about the GIL
encukou 2b04579
Merge in the main branch
encukou 7fad97d
Remove PyTime_AsNanoseconds also from What's New & NEWS
encukou 960c779
Note that PyTime_t is fixed now.
encukou 988340f
Reorder the functions to reduce the diff
encukou fbd801b
Fix ReST warning
encukou 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
Add (indirect) tests for PyTime_AsNanoseconds
- Loading branch information
commit 8f7992e5313eb00f41369c3fca24d8c0da3a205b
There are no files selected for viewing
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: it can be moved after test_assecondsdouble().