This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chobeiry
Recipients chobeiry, ned.deily, pitrou, ronaldoussoren
Date 2014-03-23.16:51:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395593472.47.0.245803766038.issue21035@psf.upfronthosting.co.za>
In-reply-to
Content
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)"...
History
Date User Action Args
2014-03-23 16:51:12chobeirysetrecipients: + chobeiry, ronaldoussoren, pitrou, ned.deily
2014-03-23 16:51:12chobeirysetmessageid: <1395593472.47.0.245803766038.issue21035@psf.upfronthosting.co.za>
2014-03-23 16:51:12chobeirylinkissue21035 messages
2014-03-23 16:51:12chobeirycreate