[issue27665] Make create_server able to listen on several ports

2017-12-20 Thread Yury Selivanov
Yury Selivanov added the comment: Agree. It's also challenging to design the API that binds to multiple hosts *and* ports -- a crossproduct of some sorts. > Multiple server objects never was a problem. Right. Let's close this. -- resolution: -> rejected

[issue27665] Make create_server able to listen on several ports

2017-12-20 Thread Andrew Svetlov
Andrew Svetlov added the comment: Let's don't -- all combinations of hosts, ports, sock objects makes a mess already. I suggest not complicate already complex signature and just close the issue as "won't fix". Multiple server objects never was a problem. --

[issue27665] Make create_server able to listen on several ports

2016-09-25 Thread Alexander Bayandin
Alexander Bayandin added the comment: Yury, in 3.6 is added support for multiple hosts for create_server but not for multiple ports which I suggest to add. -- resolution: out of date -> status: closed -> open versions: -Python 3.5 ___ Python

[issue27665] Make create_server able to listen on several ports

2016-09-15 Thread Yury Selivanov
Yury Selivanov added the comment: I think this has been already fixed. Please reopen if I missed something. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue27665] Make create_server able to listen on several ports

2016-08-01 Thread Alexander Bayandin
Alexander Bayandin added the comment: Furthermore, there is a problem with overlapped ports for multiple created server objects. Also, I can quote a comment from 'original' issue: http://bugs.python.org/msg237794 -- ___ Python tracker

[issue27665] Make create_server able to listen on several ports

2016-08-01 Thread Alexander Bayandin
Alexander Bayandin added the comment: I think it is just handier than creating several server objects like it is already done for a list of hosts. For me in particular, need to have exactly the same logic for multiple ports which generates randomly and I want to have one predefined port for

[issue27665] Make create_server able to listen on several ports

2016-08-01 Thread Guido van Rossum
Guido van Rossum added the comment: IIRC we got a similar PR before. But what's the problem with creating multiple server objects? -- ___ Python tracker

[issue27665] Make create_server able to listen on several ports

2016-08-01 Thread Alexander Bayandin
New submission from Alexander Bayandin: Make create_server accept a list of ports to listen. Now it contains only code changes without updates in docs and tests. If these changes will be considered as helpful I'll be glad to add tests and update documentation for the method. --