-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Closed
Labels
3.14bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
result jere is not defined
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, "ptem") | |
| ioctl(result, I_PUSH, "ldterm") |
It should be slave_fd.
Caused by #118826
Thanks to @ambv for finding this.
I have a fix ready.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error