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 ysionneau
Recipients gvanrossum, sebastien.bourdeauducq, vstinner, yselivanov, ysionneau
Date 2015-09-02.14:31:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441204318.92.0.568915058756.issue23630@psf.upfronthosting.co.za>
In-reply-to
Content
About the function's signature to accept multiple hosts & ports, we could 

- accept host and port arguments being sequences and then we bind to all host:port combinations. Like if len(host) == N and len(port) == M, we bind to N*M sockets.

or

- accept host and port arguments being sequences and allow repetitions and bind to host:port couples from zip(host, port).

I think the first is "clean", but the second allows more flexibility.
Like for instance binding to IP1:port1 IP2:port2 but not IP1:port2
History
Date User Action Args
2015-09-02 14:31:58ysionneausetrecipients: + ysionneau, gvanrossum, vstinner, yselivanov, sebastien.bourdeauducq
2015-09-02 14:31:58ysionneausetmessageid: <1441204318.92.0.568915058756.issue23630@psf.upfronthosting.co.za>
2015-09-02 14:31:58ysionneaulinkissue23630 messages
2015-09-02 14:31:58ysionneaucreate