◐ Shell
clean mode source ↗

Message 141178 - Python tracker

[...]
>     # note, thread may die in any time! regardles of isAlive()
>     # if thread dead before calling serve_forever(), will hang here without a workaround
>     rpc.shutdown() # from xmlrpcservr. 

Why do you say it "hangs"? It doesn't hang, it just waits for you to
call serve_forever(): it's not a bug, it's actually a feature.