Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-128427: Adduuid.NIL anduuid.MAX#128429

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hugovk merged 7 commits intopython:mainfromngnpope:nil-max-uuid
Jan 27, 2025
Merged

Conversation

@ngnpope
Copy link
Contributor

@ngnpopengnpope commentedJan 2, 2025
edited by github-actionsbot
Loading

Adds constants for Nil and Max UUID formats as per RFC 9562.


📚 Documentation preview 📚:https://cpython-previews--128429.org.readthedocs.build/

Wulian233, dolfinus, edgarrmondragon, and Object905 reacted with thumbs up emoji
@picnixzpicnixz self-requested a reviewJanuary 2, 2025 23:11
@picnixz
Copy link
Member

picnixz commentedJan 3, 2025
edited
Loading

By the way, avoid force-pushing in the future as it makes reviews harder; we eventually squash commits and write our own commit message (force-pushing is accepted in some cases only but those are quite rare (like fixing up a really wrong commit that should not be seen at all, or changing the committer's email/name to due CLA reasons)).

ngnpope reacted with thumbs up emoji

Copy link
Member

@picnixzpicnixz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I forgot about the version and variant fields which I don't know what to do with.

@ngnpope

This comment was marked as resolved.

@picnixz

This comment was marked as resolved.

Copy link
Member

@picnixzpicnixz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Just two nits and LGTM once a core dev allows it.

@picnixzpicnixz added the type-featureA feature request or enhancement labelJan 13, 2025
@picnixzpicnixz self-requested a reviewJanuary 13, 2025 10:07
Copy link
Member

@hugovkhugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks, just a couple of docs suggestions.

..data::NIL

A special form of UUID that is specified to have all 128 bits set to zero
according to:rfc:`RFC 9562, §5.9 <9562#section-5.9>`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Linking directly to the section is helpful, perhaps we only need to mention the RFC number here? If so, we could update the same thing foruuid8 above.

Suggested change
according to:rfc:`RFC 9562, §5.9 <9562#section-5.9>`.
according to:rfc:`RFC 9562 <9562#section-5.9>`.

..data::MAX

A special form of UUID that is specified to have all 128 bits set to one
according to:rfc:`RFC 9562, §5.10 <9562#section-5.10>`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
according to:rfc:`RFC 9562, §5.10 <9562#section-5.10>`.
according to:rfc:`RFC 9562 <9562#section-5.10>`.

Copy link
Member

@encukouencukou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think it works better with the section number in the text.

ngnpope reacted with rocket emoji
@hugovk
Copy link
Member

Sure, let's merge.

@ngnpope, thank you your contribution!

ngnpope reacted with heart emoji

@hugovkhugovk merged commit8ec76d9 intopython:mainJan 27, 2025
43 of 44 checks passed
@ngnpopengnpope deleted the nil-max-uuid branchJanuary 27, 2025 18:29
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@encukouencukouencukou approved these changes

@hugovkhugovkhugovk approved these changes

@picnixzpicnixzpicnixz approved these changes

+1 more reviewer

@Wulian233Wulian233Wulian233 left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

type-featureA feature request or enhancement

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@ngnpope@picnixz@hugovk@encukou@Wulian233

[8]ページ先頭

©2009-2025 Movatter.jp