Petri Lehtinen <pe...@digip.org> added the comment: OK, so this is intentional. But why? Why does it *have to* block on every call? It would be more reasonable to make in not block if serve_forever() is not running and for example add a function to check whether serve_forever() is running or not.
If for some reason it has to fail when serve_forever() is not running, a deadlock is still not good. An exception would be better. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12463> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com