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 gvanrossum
Recipients gvanrossum, j1m, python-dev, vstinner, yselivanov
Date 2016-08-09.01:40:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAP7+vJLmG91kFBMPDro5zyHjSEm_g-UatwH_CczSRm1bkxxuiQ@mail.gmail.com>
In-reply-to <1470705904.53.0.242888959153.issue27392@psf.upfronthosting.co.za>
Content
Oh, I see. create_connection(..., ssl=True) creates a default SSLContext,
but create_server(..., ssl=True) is invalid, it requires
ssl=SSLContext(...). I like the latter for connect_accepted_socket(). I
think Jim will happily comply.

What would happen if some other socket type was passed? Would anything go
wrong, assuming it's a socket type that understands connections? (I think
checking for SOCK_STREAM is more important maybe).
History
Date User Action Args
2016-08-09 01:40:52gvanrossumsetrecipients: + gvanrossum, vstinner, j1m, python-dev, yselivanov
2016-08-09 01:40:52gvanrossumlinkissue27392 messages
2016-08-09 01:40:51gvanrossumcreate