1. 30 Jul, 2017 2 commits
  2. 29 Jul, 2017 3 commits
  3. 28 Jul, 2017 8 commits
  4. 27 Jul, 2017 6 commits
  5. 26 Jul, 2017 8 commits
  6. 25 Jul, 2017 8 commits
  7. 24 Jul, 2017 5 commits
    • Victor Stinner's avatar
      test_multiprocessing detects dangling per test case (#2841) · ffb49408
      Victor Stinner authored
      bpo-26762: test_multiprocessing now detects dangling processes and
      threads per test case classes:
      
      * setUpClass()/tearDownClass() of mixin classes now check if
        multiprocessing.process._dangling or threading._dangling was
        modified to detect "dangling" processses and threads.
      * ManagerMixin.tearDownClass() now also emits a warning if it still
        has more than one active child process after 5 seconds.
      * tearDownModule() now checks for dangling processes and threads
        before sleep 500 ms. And it now only sleeps if there is a least one
        dangling process or thread.
      ffb49408
    • Victor Stinner's avatar
      test_multiprocessing: Fix dangling process/thread (#2850) · d7e64d99
      Victor Stinner authored
      bpo-26762: Fix more dangling processes and threads in
      test_multiprocessing:
      
      * Queue: call close() followed by join_thread()
      * Process: call join() or self.addCleanup(p.join)
      d7e64d99
    • waxmoon's avatar
      Minor typo in curses.rst (#2763) · d439d3e2
      waxmoon authored
      I found a tiny typo in the curses how-to: changed 'Thy' to 'The' on line 68.
      d439d3e2
    • Nir Soffer's avatar
      bpo-30980: Fix double close in asyncore.file_wrapper (#2789) · c648a93a
      Nir Soffer authored
      * bpo-30980: Fix close test to fail
      
      test_close_twice was not considering the fact that file_wrapper is
      duping the file descriptor. Closing the original descriptor left the
      duped one open, hiding the fact that close protection is not effective.
      
      * bpo-30980: Fix double close protection
      
      Invalidated self.fd before closing, handling correctly the case when
      os.close raises.
      
      * bpo-30980: Fix fd leak introduced in the fixed test
      c648a93a
    • Victor Stinner's avatar
      bpo-30188: test_nntplib catch also ssl.SSLEOFError (#2843) · 5b4feb7e
      Victor Stinner authored
      Catch also ssl.SSLEOFError in NetworkedNNTPTests setUpClass().
      EOFError was already catched.
      5b4feb7e