| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:38e5faa5-0144-5342-60d2-fc4009f48cb9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CC7E:312517:1692FC:1F33DD:696A63F7 |
| html-safe-nonce | 22b5732b88c6edf74e4a53580737a9893395fa9a61a68eed82ae0c049c26bf29 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzdFOjMxMjUxNzoxNjkyRkM6MUYzM0REOjY5NkE2M0Y3IiwidmlzaXRvcl9pZCI6IjQ5MjU0NTI2OTU2MzY2OTgxMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 08e47611a9a09cdda56617ef3e9fd205e576d289924a7b5357981c5197a75064 |
| hovercard-subject-tag | pull_request:785186608 |
| 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/29658/files |
| twitter:image | https://avatars.githubusercontent.com/u/67527439?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/67527439?s=400&v=4 |
| og:image:alt | This follows #23536. Also, see #23546, #23686.
os.login_tty() calls the native login_tty() when it is available; otherwise, if setsid() is available and if TIOCSCTTY or ttyname() are available, it ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b7735a184970dd9333b2cbe036c8f3c0a9108c64aaa93827c5a64fc70993392 |
| 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 | 87cbd411c2982752221b5751d583a515b23bf5fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/29658/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29658%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2F29658%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/29658/files |
| Reload | https://github.com/python/cpython/pull/29658/files |
| Reload | https://github.com/python/cpython/pull/29658/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/29658/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| 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.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/29658/files |
|
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
| 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 |
| gpshead | https://github.com/gpshead |
| python:main | https://github.com/python/cpython/tree/main |
| 8vasu:login_tty | https://github.com/8vasu/cpython/tree/login_tty |
|
Conversation
32
| https://github.com/python/cpython/pull/29658 |
|
Commits
17
| https://github.com/python/cpython/pull/29658/commits |
|
Checks
0
| https://github.com/python/cpython/pull/29658/checks |
|
Files changed
| https://github.com/python/cpython/pull/29658/files |
| Please reload this page | https://github.com/python/cpython/pull/29658/files |
|
bpo-41818: Add os.login_tty() for *nix.
| https://github.com/python/cpython/pull/29658/files#top |
|
Show all changes
17 commits
| https://github.com/python/cpython/pull/29658/files |
|
576bc5a
Add os.login_tty() for Unix.
8vasu Nov 20, 2021
| https://github.com/python/cpython/pull/29658/commits/576bc5a3cdbf2959b151dc3514c2778214f6b0c2 |
|
d30e66b
📜🤖 Added by blurb_it.
blurb-it[bot] Nov 20, 2021
| https://github.com/python/cpython/pull/29658/commits/d30e66b938a169289aa7ef5009574dc6b959bfea |
|
089cb17
Merge branch 'main' into login_tty
tiran Dec 4, 2021
| https://github.com/python/cpython/pull/29658/commits/089cb17832b52155686cbf491a188334e9a726ed |
|
1b02fd7
Re-generate configure script using preferred version of autoconf.
8vasu Dec 6, 2021
| https://github.com/python/cpython/pull/29658/commits/1b02fd7e6ed92e70d0193579e2dfce7dc07df25d |
|
0f4d5b3
Use #ifdef instead of #if defined() whenever possible.
8vasu Jan 16, 2022
| https://github.com/python/cpython/pull/29658/commits/0f4d5b3c82f8dbc36acb9b8e15d6940d45b4d454 |
|
7b27681
Copy posixmodule.c.h from branch 'main' to prepare to fix merge conflict
8vasu Jan 17, 2022
| https://github.com/python/cpython/pull/29658/commits/7b27681db008c7df38b081f2d53ec4e9e093b771 |
|
f5b28a0
Merge branch 'main' into login_tty
8vasu Jan 17, 2022
| https://github.com/python/cpython/pull/29658/commits/f5b28a097270eef054851f8163689bf850055ad8 |
|
b8effd2
Generate posixmodule.c.h using argument clinic
8vasu Jan 17, 2022
| https://github.com/python/cpython/pull/29658/commits/b8effd28862516c652fbdd8aa82b6bba94e83f4c |
|
8492291
Remove the archaic approach of opening a tty device file to make it t…
8vasu May 2, 2022
| https://github.com/python/cpython/pull/29658/commits/849229115d2d2ecf22bf5d2c998d34afc9a49df2 |
|
c3becc2
Resolve conflict in posixmodule.c.h
8vasu May 2, 2022
| https://github.com/python/cpython/pull/29658/commits/c3becc241fe704913bb428bc354aa8c2b891d4c4 |
|
ec717f7
Copy posixmodule.c.h from branch 'main' to prepare to fix merge conflict
8vasu May 2, 2022
| https://github.com/python/cpython/pull/29658/commits/ec717f7f261b5ebff2d6a1e07041cf5a14af406b |
|
995746e
Merge branch 'main' into login_tty
8vasu May 2, 2022
| https://github.com/python/cpython/pull/29658/commits/995746e8b893352df10ef768ac9831668eaaa27d |
|
b2bcbc1
Generate posixmodule.c.h using Argument Clinic
8vasu May 2, 2022
| https://github.com/python/cpython/pull/29658/commits/b2bcbc167f8010b434dad72098d237b372f86cf3 |
|
e35e7a0
Remove the old news file.
8vasu May 2, 2022
| https://github.com/python/cpython/pull/29658/commits/e35e7a04fde6d8ffdb3a3c371967de29b0a1723a |
|
6a033b8
📜🤖 Added by blurb_it.
blurb-it[bot] May 2, 2022
| https://github.com/python/cpython/pull/29658/commits/6a033b82094db150824ba1f32bce4217d0e5f919 |
|
dc69763
Merge branch 'main' into login_tty
gpshead May 5, 2022
| https://github.com/python/cpython/pull/29658/commits/dc6976376151ffb165afbc1b955fd3f1620a7fd8 |
|
5ad23a2
fixup the argument clinic footer (regen)
gpshead May 5, 2022
| https://github.com/python/cpython/pull/29658/commits/5ad23a2f2f6d98cfd550bba759cb0c04f2c545ad |
|
Clear filters
| https://github.com/python/cpython/pull/29658/files |
| Please reload this page | https://github.com/python/cpython/pull/29658/files |
| Please reload this page | https://github.com/python/cpython/pull/29658/files |
|
os.rst
| https://github.com/python/cpython/pull/29658/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
|
2022-05-02-03-56-50.gh-issue-85984.RBivvc.rst
| https://github.com/python/cpython/pull/29658/files#diff-0866a4229ca5b32b158e58486065b845c9b2f0fc749a3181fa13f90fc72ea6c3 |
|
posixmodule.c.h
| https://github.com/python/cpython/pull/29658/files#diff-f4ec448d9bc73d373452e97931de916ca83058ae93bce4a5853b8ac18c9d2cfa |
|
posixmodule.c
| https://github.com/python/cpython/pull/29658/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
configure
| https://github.com/python/cpython/pull/29658/files#diff-90d08e583c4c9c6f391b2ae90f819f600a6326928ea9512c9e0c6d98e9f29ac2 |
|
configure.ac
| https://github.com/python/cpython/pull/29658/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810 |
|
pyconfig.h.in
| https://github.com/python/cpython/pull/29658/files#diff-f67052280dd3a53f0e713339632a8c10bc2e420e24a70852d83aeb50d495835f |
| Doc/library/os.rst | https://github.com/python/cpython/pull/29658/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
|
View file
| https://github.com/8vasu/cpython/blob/5ad23a2f2f6d98cfd550bba759cb0c04f2c545ad/Doc/library/os.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29658/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29658/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
|
| https://github.com/python/cpython/pull/29658/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
| Misc/NEWS.d/next/Library/2022-05-02-03-56-50.gh-issue-85984.RBivvc.rst | https://github.com/python/cpython/pull/29658/files#diff-0866a4229ca5b32b158e58486065b845c9b2f0fc749a3181fa13f90fc72ea6c3 |
|
View file
| https://github.com/8vasu/cpython/blob/5ad23a2f2f6d98cfd550bba759cb0c04f2c545ad/Misc/NEWS.d/next/Library/2022-05-02-03-56-50.gh-issue-85984.RBivvc.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29658/{{ revealButtonHref }} |
| Modules/clinic/posixmodule.c.h | https://github.com/python/cpython/pull/29658/files#diff-f4ec448d9bc73d373452e97931de916ca83058ae93bce4a5853b8ac18c9d2cfa |
|
View file
| https://github.com/8vasu/cpython/blob/5ad23a2f2f6d98cfd550bba759cb0c04f2c545ad/Modules/clinic/posixmodule.c.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/29658/files |
| Modules/posixmodule.c | https://github.com/python/cpython/pull/29658/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
View file
| https://github.com/8vasu/cpython/blob/5ad23a2f2f6d98cfd550bba759cb0c04f2c545ad/Modules/posixmodule.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29658/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29658/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/29658/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/29658/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
| Please reload this page | https://github.com/python/cpython/pull/29658/files |
|
| https://github.com/python/cpython/pull/29658/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/29658/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/29658/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/29658/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/29658/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L83 |
| configure | https://github.com/python/cpython/pull/29658/files#diff-90d08e583c4c9c6f391b2ae90f819f600a6326928ea9512c9e0c6d98e9f29ac2 |
|
View file
| https://github.com/8vasu/cpython/blob/5ad23a2f2f6d98cfd550bba759cb0c04f2c545ad/configure |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/29658/files |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L83 |
| configure.ac | https://github.com/python/cpython/pull/29658/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810 |
|
View file
| https://github.com/8vasu/cpython/blob/5ad23a2f2f6d98cfd550bba759cb0c04f2c545ad/configure.ac |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29658/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29658/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810 |
|
| https://github.com/python/cpython/pull/29658/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810 |
|
| https://github.com/python/cpython/pull/29658/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810 |
|
| https://github.com/python/cpython/pull/29658/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810 |
| pyconfig.h.in | https://github.com/python/cpython/pull/29658/files#diff-f67052280dd3a53f0e713339632a8c10bc2e420e24a70852d83aeb50d495835f |
|
View file
| https://github.com/8vasu/cpython/blob/5ad23a2f2f6d98cfd550bba759cb0c04f2c545ad/pyconfig.h.in |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29658/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29658/files#diff-f67052280dd3a53f0e713339632a8c10bc2e420e24a70852d83aeb50d495835f |
|
| https://github.com/python/cpython/pull/29658/files#diff-f67052280dd3a53f0e713339632a8c10bc2e420e24a70852d83aeb50d495835f |
|
| https://github.com/python/cpython/pull/29658/files#diff-f67052280dd3a53f0e713339632a8c10bc2e420e24a70852d83aeb50d495835f |
|
| https://github.com/python/cpython/pull/29658/files#diff-f67052280dd3a53f0e713339632a8c10bc2e420e24a70852d83aeb50d495835f |
|
| 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 |