| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f2ba1e62-ea68-2d12-2aa1-032c3afa0b84 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ECE2:1B2073:107A1DA:1600F56:6A529B5C |
| html-safe-nonce | f8ac3a78e9014401f138c3121f3cb29f33e615528e6817f5c0517167da2a8109 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0UyOjFCMjA3MzoxMDdBMURBOjE2MDBGNTY6NkE1MjlCNUMiLCJ2aXNpdG9yX2lkIjoiNTQ1Mzg0NDI4NTY0NzY1NzgyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 44425a0b0932ef3f373d1686e7b57172174488726f597189938c1b3e47ebb363 |
| hovercard-subject-tag | pull_request:354333056 |
| 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/17646/files |
| twitter:image | https://avatars.githubusercontent.com/u/213955?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/213955?s=400&v=4 |
| og:image:alt | Fixes https://bugs.python.org/issue13601
https://bugs.python.org/issue13601 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/17646/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F17646%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%2F17646%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/17646/files |
| Reload | https://github.com/python/cpython/pull/17646/files |
| Reload | https://github.com/python/cpython/pull/17646/files |
| Please reload this page | https://github.com/python/cpython/pull/17646/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/17646/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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 |
| pitrou | https://github.com/pitrou |
| python:master | https://github.com/python/cpython/tree/master |
| jendrikseipp:fix-issue-13601 | https://github.com/jendrikseipp/cpython/tree/fix-issue-13601 |
|
Conversation
15
| https://github.com/python/cpython/pull/17646 |
|
Commits
13
| https://github.com/python/cpython/pull/17646/commits |
|
Checks
0
| https://github.com/python/cpython/pull/17646/checks |
|
Files changed
| https://github.com/python/cpython/pull/17646/files |
| Please reload this page | https://github.com/python/cpython/pull/17646/files |
|
bpo-13601: always use line-buffering for sys.stderr
| https://github.com/python/cpython/pull/17646/files#top |
|
Show all changes
13 commits
| https://github.com/python/cpython/pull/17646/files |
|
669f95a
bpo-13601: always use line-buffering for sys.stderr
jendrikseipp Dec 17, 2019
| https://github.com/python/cpython/pull/17646/commits/669f95acf6ddcdc639e946163f8536d8fd351997 |
|
70c3748
Add versionchanged note to docs.
jendrikseipp Dec 17, 2019
| https://github.com/python/cpython/pull/17646/commits/70c374801c30f64b476dc33a0aea83f6788b4889 |
|
76203d3
Add tests.
jendrikseipp Dec 19, 2019
| https://github.com/python/cpython/pull/17646/commits/76203d3e32e0443322b014468fc428caf3503a7d |
|
2e0b5e4
Describe effects of -u option.
jendrikseipp Dec 19, 2019
| https://github.com/python/cpython/pull/17646/commits/2e0b5e47066e2ee6080bde4be6ef2daadcf52df2 |
|
fa90013
Describe previous stderr buffering.
jendrikseipp Dec 19, 2019
| https://github.com/python/cpython/pull/17646/commits/fa90013f29e9f80718a30dbd03f262ae509414d4 |
|
20dbd80
Replace \r\n by \n before checking results.
jendrikseipp Dec 19, 2019
| https://github.com/python/cpython/pull/17646/commits/20dbd8070bc5a43ec7f99531fca6cbdb7f929913 |
|
ea9df73
Add non-functional tests.
jendrikseipp Dec 20, 2019
| https://github.com/python/cpython/pull/17646/commits/ea9df735dab388fde5822da24bca8c48a73e08b0 |
|
d58e8be
Remove functional tests.
jendrikseipp Dec 20, 2019
| https://github.com/python/cpython/pull/17646/commits/d58e8be128d5652e168a05d45a0d3ffd3a9a406c |
|
d46d8ca
Remove failing tests.
jendrikseipp Dec 20, 2019
| https://github.com/python/cpython/pull/17646/commits/d46d8ca3b4e8387280a4ffa9cbcb2bb437de8c5a |
|
7799476
Remove failing test.
jendrikseipp Dec 20, 2019
| https://github.com/python/cpython/pull/17646/commits/7799476734a105de837bc8750950f8ec53051e2b |
|
4258402
Invoke Python only once for buffer test.
jendrikseipp Dec 20, 2019
| https://github.com/python/cpython/pull/17646/commits/4258402dcf8d2116283467054b1db1c14debecf2 |
|
e5530ef
Exlain Python's unbuffered mode in changelog.
jendrikseipp Dec 21, 2019
| https://github.com/python/cpython/pull/17646/commits/e5530eff189e8ad19550c49d9a79d091c7fd68a3 |
|
83c5305
Improve wording of `versionchanged` clause.
pitrou Jan 1, 2020
| https://github.com/python/cpython/pull/17646/commits/83c53051d8517cf7b5a6c59cb2f86686eecaa7b9 |
|
Clear filters
| https://github.com/python/cpython/pull/17646/files |
| Please reload this page | https://github.com/python/cpython/pull/17646/files |
| Please reload this page | https://github.com/python/cpython/pull/17646/files |
|
sys.rst
| https://github.com/python/cpython/pull/17646/files#diff-26fe9050845b6be0f74760ffe9095874cfe2dfec55c22b18e7dba58f3978a418 |
|
test_cmd_line.py
| https://github.com/python/cpython/pull/17646/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0 |
|
ACKS
| https://github.com/python/cpython/pull/17646/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
2019-12-17-22-32-11.bpo-13601.vNP4LC.rst
| https://github.com/python/cpython/pull/17646/files#diff-f4b4aa0f1a213ffc832c670ef8e0142a0b56352e4d26dc8f799313e64f7e7839 |
|
pylifecycle.c
| https://github.com/python/cpython/pull/17646/files#diff-69223f5bb01f359a23246afbbf75b45c622e719424418d658674fbb6c2b36fad |
| Doc/library/sys.rst | https://github.com/python/cpython/pull/17646/files#diff-26fe9050845b6be0f74760ffe9095874cfe2dfec55c22b18e7dba58f3978a418 |
|
View file
| https://github.com/jendrikseipp/cpython/blob/83c53051d8517cf7b5a6c59cb2f86686eecaa7b9/Doc/library/sys.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/17646/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/17646/files#diff-26fe9050845b6be0f74760ffe9095874cfe2dfec55c22b18e7dba58f3978a418 |
|
| https://github.com/python/cpython/pull/17646/files#diff-26fe9050845b6be0f74760ffe9095874cfe2dfec55c22b18e7dba58f3978a418 |
| Lib/test/test_cmd_line.py | https://github.com/python/cpython/pull/17646/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0 |
|
View file
| https://github.com/jendrikseipp/cpython/blob/83c53051d8517cf7b5a6c59cb2f86686eecaa7b9/Lib/test/test_cmd_line.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/17646/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/17646/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0 |
|
| https://github.com/python/cpython/pull/17646/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0 |
|
| https://github.com/python/cpython/pull/17646/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0 |
|
| https://github.com/python/cpython/pull/17646/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0 |
| Misc/ACKS | https://github.com/python/cpython/pull/17646/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
View file
| https://github.com/jendrikseipp/cpython/blob/83c53051d8517cf7b5a6c59cb2f86686eecaa7b9/Misc/ACKS |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/17646/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/17646/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
| https://github.com/python/cpython/pull/17646/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
| Misc/NEWS.d/next/Core and Builtins/2019-12-17-22-32-11.bpo-13601.vNP4LC.rst | https://github.com/python/cpython/pull/17646/files#diff-f4b4aa0f1a213ffc832c670ef8e0142a0b56352e4d26dc8f799313e64f7e7839 |
|
View file
| https://github.com/jendrikseipp/cpython/blob/83c53051d8517cf7b5a6c59cb2f86686eecaa7b9/Misc/NEWS.d/next/Core%20and%20Builtins/2019-12-17-22-32-11.bpo-13601.vNP4LC.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/17646/{{ revealButtonHref }} |
| Python/pylifecycle.c | https://github.com/python/cpython/pull/17646/files#diff-69223f5bb01f359a23246afbbf75b45c622e719424418d658674fbb6c2b36fad |
|
View file
| https://github.com/jendrikseipp/cpython/blob/83c53051d8517cf7b5a6c59cb2f86686eecaa7b9/Python/pylifecycle.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/17646/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/17646/files#diff-69223f5bb01f359a23246afbbf75b45c622e719424418d658674fbb6c2b36fad |
|
| https://github.com/python/cpython/pull/17646/files#diff-69223f5bb01f359a23246afbbf75b45c622e719424418d658674fbb6c2b36fad |
|
| 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 |