| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6602162d-e7b2-85f0-6354-3b915211e90a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 837A:E2378:61FEB68:8910DFF:6A4FA8A5 |
| html-safe-nonce | 4b4a17a7b3bd7bde06b3fd0f8bc31d9031d273017a8f79d2f786166ffe015393 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzdBOkUyMzc4OjYxRkVCNjg6ODkxMERGRjo2QTRGQThBNSIsInZpc2l0b3JfaWQiOiI1MTE3MzM5NzQ4Mzk5MDMyNDg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fc8b3dbe16077d9a2c27e7fb68feedfbd4dd95c17471b6f2c3bbfa1a162d2d49 |
| hovercard-subject-tag | pull_request:343820007 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/17311/files |
| twitter:image | https://avatars.githubusercontent.com/u/44193521?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/44193521?s=400&v=4 |
| og:image:alt | Edit: This PR has been revised based on @pitrou's proposal, due to Windows compatibility concerns.
https://bugs.python.org/issue37228 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/17311/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F17311%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F17311%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/17311/files |
| Reload | https://github.com/python/cpython/pull/17311/files |
| Reload | https://github.com/python/cpython/pull/17311/files |
| Please reload this page | https://github.com/python/cpython/pull/17311/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/17311/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| ambv | https://github.com/ambv |
| python:master | https://github.com/python/cpython/tree/master |
| aeros:bpo37228-create_datagram_endpoint-reuse_address | https://github.com/aeros/cpython/tree/bpo37228-create_datagram_endpoint-reuse_address |
|
Conversation
32
| https://github.com/python/cpython/pull/17311 |
|
Commits
13
| https://github.com/python/cpython/pull/17311/commits |
|
Checks
0
| https://github.com/python/cpython/pull/17311/checks |
|
Files changed
4
| https://github.com/python/cpython/pull/17311/files |
|
bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR
| https://github.com/python/cpython/pull/17311/files#top |
|
Show all changes
13 commits
| https://github.com/python/cpython/pull/17311/files |
|
d748ca1
bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR
aeros Nov 21, 2019
| https://github.com/python/cpython/pull/17311/commits/d748ca11f116c0192532dc149bf5fde216ef0e5f |
|
69faa22
Formatting fix
aeros Nov 21, 2019
| https://github.com/python/cpython/pull/17311/commits/69faa22470df9d44953512368028542d14a7361b |
|
dea5eb3
📜🤖 Added by blurb_it.
blurb-it[bot] Nov 21, 2019
| https://github.com/python/cpython/pull/17311/commits/dea5eb3fae9717c9db2ab1064371f82738cad7c5 |
|
a96fe61
Misc/NEWS formatting fix
aeros Nov 21, 2019
| https://github.com/python/cpython/pull/17311/commits/a96fe616ec96cfba34eb8ba3bd49a1c41b409d14 |
|
2cebb8d
Change RuntimeError to ValueError
aeros Nov 25, 2019
| https://github.com/python/cpython/pull/17311/commits/2cebb8d8ef15df6db15e06ba61f96ab08d39e4b7 |
|
92cf301
Make description of security concern more explicit
aeros Nov 25, 2019
| https://github.com/python/cpython/pull/17311/commits/92cf3010ef15428c9218eb5cd5a4460a8790f1f4 |
|
3292cb1
Minor Misc/NEWS improvement
aeros Nov 27, 2019
| https://github.com/python/cpython/pull/17311/commits/3292cb1c7a590368636d07c456ec67cd84e551b8 |
|
3146c7f
Fix alignment of ValueError string
aeros Dec 3, 2019
| https://github.com/python/cpython/pull/17311/commits/3146c7f20fddfc44eade31fb16829da56dd1327c |
|
b83052e
Deprecate reuse_address=False
aeros Dec 3, 2019
| https://github.com/python/cpython/pull/17311/commits/b83052e58d56e3e11c567b184992762b96ed97d4 |
|
f0e0369
Update tests
aeros Dec 3, 2019
| https://github.com/python/cpython/pull/17311/commits/f0e0369d53929c910205a694517d6e518ce0eddc |
|
f8b44ef
Add "Contributed by" to Misc/NEWS
aeros Dec 3, 2019
| https://github.com/python/cpython/pull/17311/commits/f8b44efce6745aede565bf2bcafe7806dab44449 |
|
55314d8
Remove reuse_address from socket modifiers conditional
aeros Dec 3, 2019
| https://github.com/python/cpython/pull/17311/commits/55314d85955b58c1f222f8c11474f275ffaf894b |
|
dc521c5
Modify versionchanged to 3.8.1
aeros Dec 7, 2019
| https://github.com/python/cpython/pull/17311/commits/dc521c5c5c715f37d69f9dfd28b0a83d017422c7 |
|
Clear filters
| https://github.com/python/cpython/pull/17311/files |
| Please reload this page | https://github.com/python/cpython/pull/17311/files |
| Please reload this page | https://github.com/python/cpython/pull/17311/files |
|
asyncio-eventloop.rst
| https://github.com/python/cpython/pull/17311/files#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652 |
|
base_events.py
| https://github.com/python/cpython/pull/17311/files#diff-7962e1627bc1bfbce13bef0be78d5ef7fc962f99bbc524a199ef489852ca1344 |
|
test_base_events.py
| https://github.com/python/cpython/pull/17311/files#diff-e5cbeae2e72425359e2b5f2b5f9488b699b5f3bd90cc2d639936109ee60b4819 |
|
2019-11-21-21-36-54.bpo-37228.yBZnFG.rst
| https://github.com/python/cpython/pull/17311/files#diff-6003c8cb1af2131b272df3b4926dcbf1406756c2e193358593b1c89a8f999092 |
| Doc/library/asyncio-eventloop.rst | https://github.com/python/cpython/pull/17311/files#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652 |
|
View file
| https://github.com/aeros/cpython/blob/dc521c5c5c715f37d69f9dfd28b0a83d017422c7/Doc/library/asyncio-eventloop.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/17311/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/17311/files#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652 |
| Please reload this page | https://github.com/python/cpython/pull/17311/files |
|
| https://github.com/python/cpython/pull/17311/files#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652 |
|
| https://github.com/python/cpython/pull/17311/files#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652 |
|
| https://github.com/python/cpython/pull/17311/files#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652 |
|
| https://github.com/python/cpython/pull/17311/files#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652 |
| Lib/asyncio/base_events.py | https://github.com/python/cpython/pull/17311/files#diff-7962e1627bc1bfbce13bef0be78d5ef7fc962f99bbc524a199ef489852ca1344 |
|
View file
| https://github.com/aeros/cpython/blob/dc521c5c5c715f37d69f9dfd28b0a83d017422c7/Lib/asyncio/base_events.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/17311/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/17311/files#diff-7962e1627bc1bfbce13bef0be78d5ef7fc962f99bbc524a199ef489852ca1344 |
|
| https://github.com/python/cpython/pull/17311/files#diff-7962e1627bc1bfbce13bef0be78d5ef7fc962f99bbc524a199ef489852ca1344 |
|
| https://github.com/python/cpython/pull/17311/files#diff-7962e1627bc1bfbce13bef0be78d5ef7fc962f99bbc524a199ef489852ca1344 |
|
| https://github.com/python/cpython/pull/17311/files#diff-7962e1627bc1bfbce13bef0be78d5ef7fc962f99bbc524a199ef489852ca1344 |
|
| https://github.com/python/cpython/pull/17311/files#diff-7962e1627bc1bfbce13bef0be78d5ef7fc962f99bbc524a199ef489852ca1344 |
|
| https://github.com/python/cpython/pull/17311/files#diff-7962e1627bc1bfbce13bef0be78d5ef7fc962f99bbc524a199ef489852ca1344 |
| Please reload this page | https://github.com/python/cpython/pull/17311/files |
|
| https://github.com/python/cpython/pull/17311/files#diff-7962e1627bc1bfbce13bef0be78d5ef7fc962f99bbc524a199ef489852ca1344 |
|
| https://github.com/python/cpython/pull/17311/files#diff-7962e1627bc1bfbce13bef0be78d5ef7fc962f99bbc524a199ef489852ca1344 |
| Lib/test/test_asyncio/test_base_events.py | https://github.com/python/cpython/pull/17311/files#diff-e5cbeae2e72425359e2b5f2b5f9488b699b5f3bd90cc2d639936109ee60b4819 |
|
View file
| https://github.com/aeros/cpython/blob/dc521c5c5c715f37d69f9dfd28b0a83d017422c7/Lib/test/test_asyncio/test_base_events.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/17311/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/17311/files#diff-e5cbeae2e72425359e2b5f2b5f9488b699b5f3bd90cc2d639936109ee60b4819 |
|
| https://github.com/python/cpython/pull/17311/files#diff-e5cbeae2e72425359e2b5f2b5f9488b699b5f3bd90cc2d639936109ee60b4819 |
|
| https://github.com/python/cpython/pull/17311/files#diff-e5cbeae2e72425359e2b5f2b5f9488b699b5f3bd90cc2d639936109ee60b4819 |
|
| https://github.com/python/cpython/pull/17311/files#diff-e5cbeae2e72425359e2b5f2b5f9488b699b5f3bd90cc2d639936109ee60b4819 |
|
| https://github.com/python/cpython/pull/17311/files#diff-e5cbeae2e72425359e2b5f2b5f9488b699b5f3bd90cc2d639936109ee60b4819 |
|
| https://github.com/python/cpython/pull/17311/files#diff-e5cbeae2e72425359e2b5f2b5f9488b699b5f3bd90cc2d639936109ee60b4819 |
| Misc/NEWS.d/next/Security/2019-11-21-21-36-54.bpo-37228.yBZnFG.rst | https://github.com/python/cpython/pull/17311/files#diff-6003c8cb1af2131b272df3b4926dcbf1406756c2e193358593b1c89a8f999092 |
|
View file
| https://github.com/aeros/cpython/blob/dc521c5c5c715f37d69f9dfd28b0a83d017422c7/Misc/NEWS.d/next/Security/2019-11-21-21-36-54.bpo-37228.yBZnFG.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/17311/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |