[Python-Dev] peps: Specify start_serving(). Add Post-History. (original) (raw)

Benjamin Peterson benjamin at python.org
Sat Dec 22 02:08:22 CET 2012


2012/12/21 Guido van Rossum <guido at python.org>:

On Fri, Dec 21, 2012 at 1:00 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

On Fri, 21 Dec 2012 12:37:25 -0800 Guido van Rossum <guido at python.org> wrote:

I really meant synchronously... I usually start with working sync code and then figure out what to do to make it async. I'll give what you suggest a try.

Ah. Then I hope the doc example can help you: http://docs.python.org/dev/library/ssl.html#server-side-operation Heh. Thanks. However I wouldn't know where to get a certificate. And for unittests, distributing a certificate sounds like an obvious bad idea. :-)

It's fairly easy to generate a "fake" self-signed one for testing purposes. We already have some in the test suite.

-- Regards, Benjamin



More information about the Python-Dev mailing list