[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
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--
nosy: +asvetlov

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 manually 
checking/debugging.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--
components: asyncio
files: create_server-multiple-ports.patch
keywords: patch
messages: 271792
nosy: Alexander.Bayandin, gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: Make create_server able to listen on several ports
type: enhancement
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file43969/create_server-multiple-ports.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com