Issue 1648435: pty.fork() python implementation leaks the slave fd (original ) (raw ) Issue1648435
Created on 2007-01-31 04:49 by movement , last changed 2022-04-11 14:56 by admin . This issue is now closed .
Files
File name
Uploaded
Description
Edit
pty.diff
movement,2007-01-31 04:49
Patch
Messages (3)
msg51822 - (view)
Author: John Levon (movement)
Date: 2007-01-31 04:49
master_fd, slave_fd = openpty() pid = os.fork() if pid == CHILD: ... # Parent and child process. return pid, master_fd This is leaking 'slave_fd' in the parent.
msg51823 - (view)
Author: Georg Brandl (georg.brandl) *
Date: 2007-01-31 07:44
Thanks for the report, this was already fixed in rev. 53146 on the trunk.
msg51824 - (view)
Author: Georg Brandl (georg.brandl) *
Date: 2007-01-31 07:49
Committed 2.5 branch rev. 53606 .
History
Date
User
Action
Args
2022-04-11 14:56:22
admin
set
github: 44526
2007-01-31 04:49:52
movement
create