Title: bpo-41818: Add os.login_tty() for *nix. by 8vasu · Pull Request #29658 · python/cpython · GitHub
Open Graph Title: bpo-41818: Add os.login_tty() for *nix. by 8vasu · Pull Request #29658 · python/cpython
X Title: bpo-41818: Add os.login_tty() for *nix. by 8vasu · Pull Request #29658 · python/cpython
Description: 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 runs generic code to emulate login_tty(). Post #23686, #23546, #23740 goals: add test_winsize() to "Lib/test/test_pty.py"; major revision of "Lib/pty.py", which has not happened since the beginning of the millennium. Signed-off-by: Soumendra Ganguly soumendraganguly@gmail.com https://bugs.python.org/issue41818
Open Graph Description: 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 ...
X Description: 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 ...
Opengraph URL: https://github.com/python/cpython/pull/29658
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:92434442-d630-518c-bfe9-6c5caf699254 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D1C6:81D4B:22AE03:30E8F9:696A06EF |
| html-safe-nonce | 16d48aec152b8d78358184fc30f82ae2e900e4b3f7e1a30a10ff24ab32a33b9f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUM2OjgxRDRCOjIyQUUwMzozMEU4Rjk6Njk2QTA2RUYiLCJ2aXNpdG9yX2lkIjoiNzQ4NzM3NDQ4NDEwNTIwMTM5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 54e565f25b1796d1c164850c8e7f2ce089fe3f9af4bd130c95032456ec46430e |
| hovercard-subject-tag | pull_request:785186608 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/29658/checks |
| 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 | 578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 671c2f67171dbced24284331f3133a613d08c366 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width