1. 17 Ara, 2018 1 kayıt (commit)
  2. 19 Ara, 2017 1 kayıt (commit)
  3. 14 Eyl, 2017 1 kayıt (commit)
  4. 07 Eyl, 2017 1 kayıt (commit)
  5. 24 Tem, 2017 1 kayıt (commit)
    • Nir Soffer's avatar
      bpo-30980: Fix double close in asyncore.file_wrapper (#2789) · c648a93a
      Nir Soffer yazdı
      * 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
  6. 21 Nis, 2017 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-30106: Fix test_asyncore.test_quick_connect() (#1234) · a2c877c3
      Victor Stinner yazdı
      test_quick_connect() runs a thread up to 50 seconds, whereas the
      socket is connected in 0.2 second and then the thread is expected to
      end in less than 3 second. On Linux, the thread ends quickly because
      select() seems to always return quickly. On FreeBSD, sometimes
      select() fails with timeout and so the thread runs much longer than
      expected.
      
      Fix the thread timeout to fix a race condition in the test.
      a2c877c3
  7. 20 Nis, 2017 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-30106: Fix tearDown() of test_asyncore (#1194) · 11470b6d
      Victor Stinner yazdı
      Call asyncore.close_all() with ignore_all=True in the tearDown()
      method of the test_asyncore base test case. It should prevent keeping
      alive sockets in asyncore.socket_map if close() fails with an
      unexpected error.
      
      Revert also an unwanted change of my previous commit: remove name
      parameter of Thread in test_quick_connect().
      11470b6d
  8. 19 Nis, 2017 1 kayıt (commit)
    • Victor Stinner's avatar
      Fix/optimize test_asyncore.test_quick_connect() (#1188) · 7b9619ae
      Victor Stinner yazdı
      Don't use addCleanup() in test_quick_connect() because it keeps the
      Thread object alive and so @reap_threads fails on its timeout of 1
      second. "./python -m test -v test_asyncore -m test_quick_connect"
      now takes 185 ms, instead of 11 seconds.
      
      Other minor changes:
      
      * Use "with sock:" to close the socket instead of
        try/finally: sock.close()
      * Use self.skipTest() in test_quick_connect() to remove one
        indentation level and notice user that the test is specific to
        AF_INET and AF_INET6
      7b9619ae
  9. 04 Mar, 2017 1 kayıt (commit)
  10. 14 Ara, 2016 1 kayıt (commit)
  11. 07 Eyl, 2016 1 kayıt (commit)
  12. 28 Tem, 2014 1 kayıt (commit)
  13. 23 Tem, 2014 1 kayıt (commit)
  14. 27 Haz, 2014 2 kayıt (commit)
  15. 29 Nis, 2014 1 kayıt (commit)
  16. 19 Nis, 2014 1 kayıt (commit)
  17. 27 Agu, 2013 1 kayıt (commit)
  18. 21 Agu, 2013 2 kayıt (commit)
  19. 16 May, 2013 1 kayıt (commit)
  20. 13 Ock, 2013 2 kayıt (commit)
  21. 10 Ock, 2013 1 kayıt (commit)
  22. 18 Ara, 2012 1 kayıt (commit)
  23. 27 Eki, 2012 1 kayıt (commit)
  24. 18 Eki, 2012 2 kayıt (commit)
  25. 06 Nis, 2012 1 kayıt (commit)
  26. 23 Mar, 2012 3 kayıt (commit)
  27. 22 Mar, 2012 2 kayıt (commit)
  28. 02 Kas, 2011 1 kayıt (commit)
  29. 31 Eki, 2011 1 kayıt (commit)
  30. 29 Eki, 2011 2 kayıt (commit)
  31. 24 Agu, 2011 2 kayıt (commit)