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-120056: AddIP_RECVERR,IP_RECVORIGDSTADDR,IP_RECVTTL tosocket module#120058

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
jeremyhylton merged 4 commits intopython:mainfromsobolevn:issue-120056
Jun 12, 2024

Conversation

@sobolevn
Copy link
Member

@sobolevnsobolevn commentedJun 4, 2024
edited by github-actionsbot
Loading

Copy link
Member

@Eclips4Eclips4 left a comment

Choose a reason for hiding this comment

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

LGTM!

@jeremyhyltonjeremyhylton self-assigned thisJun 8, 2024
#ifdefIP_RECVTOS
ADD_INT_MACRO(m,IP_RECVTOS);
#endif
#ifdefIP_RECVERR
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you insert these in alphabetical order?

OOC why these two options? Just looking at man 7 ip, it looks like there are a few other options we are missing, e.g. IP_RECVORIGDSTADDR. Would it make sense to add more to make this list of options more complete?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Sure, I added these two, because I only needed these two :)
Will add more.

@sobolevnsobolevn changed the titlegh-120056: AddIP_RECVERR andIP_RECVTTL tosocket modulegh-120056: AddIP_RECVERR,IP_RECVORIGDSTADDR,IP_RECVTTL tosocket moduleJun 9, 2024
Copy link
Member

@vstinnervstinner left a comment
edited
Loading

Choose a reason for hiding this comment

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

LGTM.

We don't copy/paste socket constant manual pages (documentation, since the documentation is big, platform dependent, and it would be really complicated to maintain such documentation.If we decide to add a little bit more documentation than the plain generic "Many constants of these forms, documented in the Unix documentation on sockets and/or the IP protocol, are also defined in the socket module" sentence, I suggest to do it in a separated PR and not only for these 3 constants.

Eclips4, sobolevn, and erlend-aasland reacted with thumbs up emoji
@jeremyhyltonjeremyhylton merged commitf5a9c34 intopython:mainJun 12, 2024
@sobolevn
Copy link
MemberAuthor

Thanks everyone!

mrahtz pushed a commit to mrahtz/cpython that referenced this pull requestJun 30, 2024
… to `socket` module (python#120058)*pythongh-120056: Add `IP_RECVERR` and `IP_RECVTTL` to `socket` module* Fix news* Address review* Update NEWS
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull requestJul 11, 2024
… to `socket` module (python#120058)*pythongh-120056: Add `IP_RECVERR` and `IP_RECVTTL` to `socket` module* Fix news* Address review* Update NEWS
estyxx pushed a commit to estyxx/cpython that referenced this pull requestJul 17, 2024
… to `socket` module (python#120058)*pythongh-120056: Add `IP_RECVERR` and `IP_RECVTTL` to `socket` module* Fix news* Address review* Update NEWS
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@erlend-aaslanderlend-aaslanderlend-aasland left review comments

@vstinnervstinnervstinner approved these changes

@jeremyhyltonjeremyhyltonjeremyhylton approved these changes

@Eclips4Eclips4Eclips4 approved these changes

Assignees

@jeremyhyltonjeremyhylton

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@sobolevn@vstinner@erlend-aasland@jeremyhylton@Eclips4

[8]ページ先頭

©2009-2025 Movatter.jp