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

bpo-36003: change socketserver.TCPServer reuse_addr and backlog default options#11875

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

Closed
giampaolo wants to merge3 commits intopython:masterfromgiampaolo:socketserver-default-opts
Closed

bpo-36003: change socketserver.TCPServer reuse_addr and backlog default options#11875

giampaolo wants to merge3 commits intopython:masterfromgiampaolo:socketserver-default-opts

Conversation

giampaolo
Copy link
Contributor

@giampaologiampaolo commentedFeb 15, 2019
edited by bedevere-bot
Loading

- allow_reuse_address from False to True on POSIX- request_queue_size from 5 to 0

allow_reuse_address = False
allow_reuse_address = \
os.name not in ('nt', 'cygwin') and hasattr(socket, 'SO_REUSEADDR')
Copy link
Contributor

Choose a reason for hiding this comment

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

Why the OS check here? IsSO_REUSEADDR available but not appropriate for use on Windows? If so, I suggest adding a comment.

Also, why useos.name rather thansys.platform?

@vstinnervstinner deleted the branchpython:masterMay 3, 2021 21:29
@taleinat
Copy link
Contributor

@vstinner, why did you close this with no comment, while the bpo issue is still open?

@pythonpython deleted a commentMay 4, 2021
@taleinat
Copy link
Contributor

Could this be due to the renaming of the "master" branch to "main"?

@vstinner
Copy link
Member

@vstinner, why did you close this with no comment, while the bpo issue is still open?

I didn't touch this PR. The PR was likely closed when the master branch was renamed to main, because the original branch no longer exists.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@taleinattaleinattaleinat left review comments

@matrixisematrixisematrixise requested changes

@1st11st1Awaiting requested review from 1st1

@asvetlovasvetlovAwaiting requested review from asvetlov

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

6 participants
@giampaolo@taleinat@vstinner@matrixise@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp