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

Bill Janssen janssen at parc.com
Tue Aug 12 19:01:13 CEST 2008


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")

Bill


More information about the Python-Dev mailing list