[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().
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)
title: support pty.fork and os.forkpty actions in posix subprocess module
versions: Python 3.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce