This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients gvanrossum, sebastien.bourdeauducq, vstinner, yselivanov, ysionneau
Date 2015-09-02.14:27:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441204062.14.0.666929213613.issue23630@psf.upfronthosting.co.za>
In-reply-to
Content
> I can be convenient to have a single Server object with *all* listening sockets. So I like the idea of supporting multiple ports. It's very cheap to support it.

I like the idea too, but I'm not sure how to redesign the function's signature to accept multiple hosts & ports.  We have a separate param for 'port', and this patch allows to pass an array of hosts in 'host' argument.  Should we allow passing an array of (host, port) tuples in 'host' with 'None' in 'port'?  This would be one ugly method...

> Since the consensus on python-dev looks more to keep the provisional API for asyncion in Python 3.5, I propose to even modify Python 3.4 to not add too many "if python >= 3.5..." checks in asyncio source code.

asyncio is provisional in 3.4 (and now in 3.5 too), so we can just keep updating it in bugfix releases.

> If you really prefer to keep Python 3.4 unchanged, we should at least add the feature in Python 3.5.1, having to wait for Python 3.6 is too long, no?

This was before we reinstated asyncio as provisional in 3.5.

But before committing this change, let's agree if we want this API to accept multiple ports when you specify more than one host.

We also need to create a dev branch on github/asyncio, so that it's easier for us to sync PyPI package with CPython releases.
History
Date User Action Args
2015-09-02 14:27:42yselivanovsetrecipients: + yselivanov, gvanrossum, vstinner, sebastien.bourdeauducq, ysionneau
2015-09-02 14:27:42yselivanovsetmessageid: <1441204062.14.0.666929213613.issue23630@psf.upfronthosting.co.za>
2015-09-02 14:27:42yselivanovlinkissue23630 messages
2015-09-02 14:27:41yselivanovcreate