# Bug report `result` jere is not defined https://github.com/python/cpython/blob/ad7c7785461fffba04f5a36cd6d062e92b0fda16/Lib/pty.py#L36-L43 It should be `slave_fd`. Caused by #118826 Thanks to @ambv for finding this. I have a fix ready. <!-- gh-linked-prs --> ### Linked PRs * gh-124406 <!-- /gh-linked-prs -->
Activity
[-]NameError in `openpty` after #118826/[/-][+]NameError in `openpty` after #118826[/+]pythongh-124405: Fix `NameError` in `openpty`
gh-124405: Fix `NameError` in `openpty` (#124406)
hugovk commentedon Jan 7, 2025
PR merged, closing 🚀