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
Merged
+2,842
−63
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
4ab0483
Issue #gh-139122: Reimplement base UUID type, uuid4(), and uuid7() in C
1st1 d80180d
Address @picnixz's review
1st1 ff3e317
Regen the clinic files
1st1 a7e9690
Clarify the type name
1st1 c1e5290
Fix news
1st1 50fb64a
Trim the NEWS file down
1st1 62c3fda
Use PyObject* in getters
1st1 22c0d61
Codegen string literals and use them
1st1 623d1ab
Ensure total compatibility of C/Python implementations of uuid4 / uuid7
1st1 32a8911
Stop importing unused SafeUUID members
1st1 7880664
Drop SafeUUID.unknown
1st1 f80ef75
Drop more things that can be imported dynamically
1st1 860e7f7
Remove circular import; import 'uuid' from '_uuid' lazily
1st1 faee029
Regen files
1st1 a0c3007
Get module state assuming there could be subclasses of UUID
1st1 f2687b4
More ergonomic int cast code
1st1 a1f5fcc
gh-139122: Fix UUID subclass allocation and freelist type ownership
1st1 3eff5a4
gh-139122: Match UUID state restoration mapping semantics
1st1 634151a
gh-139122: Fix UUID time hook error handling and reference updates
1st1 5627dbe
gh-139122: Align C UUID constructor inputs with Python
1st1 f1b2eae
gh-139122: Make UUID narrowing and entropy lock requirements explicit
1st1 b86a52f
gh-139122: Preserve UUID fields length errors
1st1 fdfaefe
gh-139122: Clarify version-specific UUID layouts
1st1 9d693e5
gh-139122: Apply UUID review cleanup
1st1 511783c
gh-139122: Fix concurrent UUID entropy refills and UUIDv7 state updates
1st1 e1085f0
gh-139122: Avoid subclass module-state lookup during UUID deallocation
1st1 69166ce
gh-139122: Mark UUID testing hook as an explicit re-export
1st1 c4d400d
gh-139122: Document UUID performance improvements in What’s New
1st1 fe8c947
gh-139122: Match Python UUID prefix and brace parsing
1st1 b6d7ff2
gh-139122: Assert UUID type association is a module during deallocation
1st1 7267353
gh-139122: Propagate SafeUUID lookup errors in is_safe getter
1st1 0802f7b
gh-139122: Honor subclass string conversion in UUID repr
1st1 54e040a
Apply batched suggestions from code review
1st1 f42e84a
gh-139122: Normalize line endings in UUID review suggestions
1st1 95b8544
gh-139122: Test UUID state restoration with frozendict
1st1 ce35192
gh-139122: Use shared hex conversion helper for UUID.hex
1st1 8ebad36
gh-139122: Format UUIDs directly into the result string
1st1 9e40767
gh-139122: Narrow UUID exception assertions and clean up test spacing
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.
Uh oh!
There was an error while loading. Please reload this page.