reproducer for pull request number 19556 on cpython
.editorconfig | ||
.gitignore | ||
LICENSE | ||
Main.py | ||
README.md |
Reproducer to github issue on cpython repository
This code create a Thread and run a minimal http server into it.
how to reproduce
The tricky part is in Main.py
line 28 class BackendThreadHttpServer
method server_close()
when running this code and exiting it with ctrl+c
If BackendThreadHttpServer#server_close()
method doesn't call BaseServer.shutdown(self)
the thread join never occurred
and so the program never end