[Python-checkins] r58100 - python/trunk/Lib/test/test_ssl.py

Guido van Rossum guido at python.org
Tue Sep 11 19:50:57 CEST 2007


On 9/11/07, Nick Coghlan <ncoghlan at gmail.com> wrote:
> bill.janssen wrote:
> > Author: bill.janssen
> > Date: Tue Sep 11 01:41:24 2007
> > New Revision: 58100
> >
> > Modified:
> >    python/trunk/Lib/test/test_ssl.py
> > Log:
> > A better way of finding an open port to test with.
>
> Binding to port 0 tells the OS to find an open port for you (someone
> pointed out this trick a while back for some of the other standard
> library server tests)

Is that universal for all platforms including Windows?

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-checkins mailing list