> > > > > 2. SocketServer.StreamRequestHandler > [...] > > Alas, this is still at the wrong level. The get_request() method is > > overridable (e.g. by the UDPServer class) and the request that it > > returns may not have a close method. The best I can come up with is > > to add an empty method self.close_request(request) to the base class, > > call it in handle_request(), and override it to call request.close() > > in the TCPServer class. > > Yes, i agree that's a good division of responsibilities. See the > updated patch. I think it would be nice if it could go in, but it's > up to you if you want to accept it. I've accepted this and assigned it to you. That means that *you* should check it in! (This is so that the CVS logs show the author of the patch.) --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4