[New-bugs-announce] [issue31296] support pty.fork and os.forkpty actions in posix subprocess module
Gregory P. Smith
report at bugs.python.org
Mon Aug 28 19:01:53 EDT 2017
New submission from Gregory P. Smith:
The PyPI pexpect.spawn API is incompatible with multithreaded code thanks to its dependency on pty.fork() and running non async signal safe code between fork() and exec().
https://github.com/pexpect/ptyprocess/issues/43
https://github.com/pexpect/pexpect/issues/369
If subprocess supported pty.fork() and pexpect.pty_spawn.spawn like actions, pexpect could use that by default instead of the threading incompatible pty.fork().
(this is a brainstorm, see what the pexpect maintainers want in the above github issues)
----------
components: Library (Lib)
messages: 300968
nosy: gregory.p.smith
priority: normal
severity: normal
status: open
title: support pty.fork and os.forkpty actions in posix subprocess module
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31296>
_______________________________________
More information about the New-bugs-announce
mailing list