[WIP] bpo-40068: test_reinit_tls_after_fork() detects crashes by vstinner · Pull Request #19200 · python/cpython

Conversation

@vstinner

pablogsal

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for working on this :)

@vstinner

Hum, I found more code than what I expected which convert a waitpid status to a returncode, so I proposed to even add the helper function directly to the os module: https://bugs.python.org/issue40094

test_reinit_tls_after_fork() of test_threading now checks if a child
process crashed in os.fork().

@vstinner

I rebased my PR on master and reverted changes in _bootsubproces and test.support: I rewrote these changes as a new public function in PR #19201.

@vstinner vstinner changed the title bpo-40068: test_reinit_tls_after_fork() detects crashes [WIP] bpo-40068: test_reinit_tls_after_fork() detects crashes

Mar 31, 2020

@vstinner

I'm working on a different approach: PR #19254.

@vstinner

@vstinner vstinner deleted the test_reinit_tls_after_fork branch

March 31, 2020 19:51

Labels