[Python-checkins] [python/cpython] 89a54c: bpo-30199: test_ssl closes all asyncore channels (...

GitHub noreply at github.com
Tue May 2 10:48:38 EDT 2017


  Branch: refs/heads/3.5
  Home:   https://github.com/python/cpython
  Commit: 89a54c73746417bae003a9985668fa665040d5d9
      https://github.com/python/cpython/commit/89a54c73746417bae003a9985668fa665040d5d9
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M Lib/test/test_ssl.py

  Log Message:
  -----------
  bpo-30199: test_ssl closes all asyncore channels (#1381) (#1389)

AsyncoreEchoServer of test_ssl now calls
asyncore.close_all(ignore_all=True) to ensure that
asyncore.socket_map is cleared once the test completes, even if
ConnectionHandler was not correctly unregistered.

Fix the following warning:

Warning -- asyncore.socket_map was modified by test_ssl
  Before: {}
  After:  {6: <test.test_ssl.AsyncoreEchoServer.EchoServer.ConnectionHandler>}
(cherry picked from commit 1dae7450c68bad498e57800387b24cb103c461fa)




More information about the Python-checkins mailing list