[issue11130] SocketServer: server_address is... a socket

2011-02-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Unable to determine the bug here. If you have questions with using python, please ask python-l...@python.org -- nosy: +orsenthil stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tr

[issue11130] SocketServer: server_address is... a socket

2011-02-05 Thread ProgVal
ProgVal added the comment: Oh, excuse me, it's because of my code! class MyRequestHandler(SocketServer.TCPServer): -- resolution: -> invalid ___ Python tracker ___ ___

[issue11130] SocketServer: server_address is... a socket

2011-02-05 Thread ProgVal
ProgVal added the comment: This seems odd to me: this line: self.RequestHandlerClass(request, client_address, self) calls TCPServer's constructor: def __init__(self, server_address, RequestHandlerClass, bind_and_activate=True): -- ___ Py

[issue11130] SocketServer: server_address is... a socket

2011-02-05 Thread ProgVal
ProgVal added the comment: The problem happens on Python 2.7 too. Additionaly, here is the traceback, if I don't edit the library: Exception happened during processing of request from ('127.0.0.1', 50378) Traceback (most recent call last): File "/usr/lib/python2.7/SocketServer.py", line 284,

[issue11130] SocketServer: server_address is... a socket

2011-02-05 Thread ProgVal
New submission from ProgVal : Hello, I have issues with a script I'm programming (TypeError at every client connection), so I edited BaseServer's __init__(): def __init__(self, server_address, RequestHandlerClass): """Constructor. May be extended, do not override.""" if isi