Parto Chobeiry added the comment: I thought you were kidding concerning "print()" -- thus I started using "python -m trace -t httpd.py" >trace 2>&1. The hanging does not occur when tracing (however, things slow down immensely naturally)!
When breaking the httpd.py while it is not serving anymore, the stack trace looks always like this: ^CTraceback (most recent call last): File "httpd.py", line 3, in <module> s.serve_forever() File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/socketserver.py", line 237, in serve_forever poll_interval) File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/socketserver.py", line 155, in _eintr_retry return func(*args) KeyboardInterrupt I will try to add some "print()" before the "return func(*args)"... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21035> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com