New submission from Eric Blond <ebl...@tiscali.co.uk>: Here's the traceback I got: === >>> s.serve_forever() ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 54611) Traceback (most recent call last): File "C:\Python30\lib\socketserver.py", line 281, in _handle_request_noblock self.process_request(request, client_address) File "C:\Python30\lib\socketserver.py", line 307, in process_request self.finish_request(request, client_address) File "C:\Python30\lib\socketserver.py", line 320, in finish_request self.RequestHandlerClass(request, client_address, self) File "C:\Python30\lib\socketserver.py", line 615, in __init__ self.finish() File "C:\Python30\lib\socketserver.py", line 655, in finish if not self.wfile.closed: AttributeError: 'RequestHandler' object has no attribute 'wfile' ---------------------------------------- ===
's' is an instance of socketserver.TCPServer and the handler passed is an instance of socketserver.StreamRequestHandler. I believe this must be a simple typo, so I didn't feel that more details is needed at that point. Let me know if you have any question. ---------- components: Library (Lib) messages: 85936 nosy: eblond severity: normal status: open title: socketserver problem upon disconnection (undefined member) versions: Python 3.0 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5746> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com