[Python-Dev] why duplicate output lines in verbose tests?

Guido van Rossum guido at python.org
Tue Aug 12 20:12:49 CEST 2008


Is it using fork()? Threads?

On Tue, Aug 12, 2008 at 10:01 AM, Bill Janssen <janssen at parc.com> wrote:
> Every so often, running the SSL test suite in verbose mode, I get
> something like this:
>
>  server: connection cipher is now ('AES256-SHA', 'TLSv1/SSLv3', 256)
>  server: connection cipher is now ('AES256-SHA', 'TLSv1/SSLv3', 256)
>
> That is, duplicate output lines.  Any idea why that is?  They're all
> written with something like:
>
>  if support.verbose:
>      sys.stdout.write(" some message\n")

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


More information about the Python-Dev mailing list