Repository navigation
gh-139122: Reimplement base UUID type, uuid4(), and uuid7() in C #139123
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
1st1
wants to merge
24
commits into
python:main
Choose a base branch
from
1st1:uuid_push
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,568
−62
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
b383c7d
Issue #gh-139122: Reimplement base UUID type, uuid4(), and uuid7() in C
1st1 325ded0
Address @picnixz's review
1st1 f9b1b0a
Regen the clinic files
1st1 44c9a58
Clarify the type name
1st1 70ec40c
Fix news
1st1 fffb329
Trim the NEWS file down
1st1 55c781c
Use PyObject* in getters
1st1 0dd56dd
Codegen string literals and use them
1st1 0ec891b
Ensure total compatibility of C/Python implementations of uuid4 / uuid7
1st1 39360c1
Stop importing unused SafeUUID members
1st1 9c31cf7
Drop SafeUUID.unknown
1st1 fe8ce01
Drop more things that can be imported dynamically
1st1 01bb137
Remove circular import; import 'uuid' from '_uuid' lazily
1st1 dff1e4f
Regen files
1st1 5b8f47f
Get module state assuming there could be subclasses of UUID
1st1 cbf7226
More ergonomic int cast code
1st1 d43cb28
gh-139122: Fix UUID subclass allocation and freelist type ownership
1st1 436e39d
gh-139122: Match UUID state restoration mapping semantics
1st1 0c8c3a0
gh-139122: Fix UUID time hook error handling and reference updates
1st1 4e0388f
gh-139122: Align C UUID constructor inputs with Python
1st1 e543a0c
gh-139122: Make UUID narrowing and entropy lock requirements explicit
1st1 d09404a
gh-139122: Preserve UUID fields length errors
1st1 68e41aa
gh-139122: Clarify version-specific UUID layouts
1st1 404ce3b
gh-139122: Apply UUID review cleanup
1st1 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
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
The performance improvement also deserves to be mentioned. Either here or in the optimization section.