Title: NameError in `openpty` after #118826 · Issue #124405 · python/cpython · GitHub
Open Graph Title: NameError in `openpty` after #118826 · Issue #124405 · python/cpython
X Title: NameError in `openpty` after #118826 · Issue #124405 · python/cpython
Description: Bug report result jere is not defined cpython/Lib/pty.py Lines 36 to 43 in ad7c778 slave_fd = os.open(slave_name, os.O_RDWR) try: from fcntl import ioctl, I_PUSH except ImportError: return master_fd, slave_fd try: ioctl(result, I_PUSH, "...
Open Graph Description: Bug report result jere is not defined cpython/Lib/pty.py Lines 36 to 43 in ad7c778 slave_fd = os.open(slave_name, os.O_RDWR) try: from fcntl import ioctl, I_PUSH except ImportError: return master_f...
X Description: Bug report result jere is not defined cpython/Lib/pty.py Lines 36 to 43 in ad7c778 slave_fd = os.open(slave_name, os.O_RDWR) try: from fcntl import ioctl, I_PUSH except ImportError: return master_f...
Opengraph URL: https://github.com/python/cpython/issues/124405
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NameError in `openpty` after #118826","articleBody":"# Bug report\r\n\r\n`result` jere is not defined https://github.com/python/cpython/blob/ad7c7785461fffba04f5a36cd6d062e92b0fda16/Lib/pty.py#L36-L43\r\n\r\nIt should be `slave_fd`.\r\nCaused by #118826\r\n\r\nThanks to @ambv for finding this.\r\nI have a fix ready.\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-124406\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/sobolevn","@type":"Person","name":"sobolevn"},"datePublished":"2024-09-24T02:36:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/124405/cpython/issues/124405"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4fbac855-45e7-dea9-df24-66f442e70d7e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB4C:9E6E4:54188:77FD9:696A0997 |
| html-safe-nonce | d37186da18407104b0fa35424d93def0d5a30238adec0c6cbf3ee8bc41276a85 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjRDOjlFNkU0OjU0MTg4Ojc3RkQ5OjY5NkEwOTk3IiwidmlzaXRvcl9pZCI6IjM5NzA4OTY3NDY2NzY2MTk2NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b018e8e0c82abdb95211109e35f4019b9dde1ba2e90178f23edb1fe9c1d2bfdb |
| hovercard-subject-tag | issue:2544134233 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/124405/issue_layout |
| twitter:image | https://opengraph.githubassets.com/85e433d885208c5256259e36fcb9e4b0d5e5586157583b3c99f9f2f9040f8910/python/cpython/issues/124405 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/85e433d885208c5256259e36fcb9e4b0d5e5586157583b3c99f9f2f9040f8910/python/cpython/issues/124405 |
| og:image:alt | Bug report result jere is not defined cpython/Lib/pty.py Lines 36 to 43 in ad7c778 slave_fd = os.open(slave_name, os.O_RDWR) try: from fcntl import ioctl, I_PUSH except ImportError: return master_f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sobolevn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width