An error occurred fetching the project authors.
  1. 02 Aug, 2002 1 commit
  2. 31 Jul, 2002 2 commits
  3. 25 Jul, 2002 2 commits
  4. 23 Jul, 2002 1 commit
    • Barry Warsaw's avatar
      Get rid of relative imports in all unittests. Now anything that · 04f357cf
      Barry Warsaw authored
      imports e.g. test_support must do so using an absolute package name
      such as "import test.test_support" or "from test import test_support".
      
      This also updates the README in Lib/test, and gets rid of the
      duplicate data dirctory in Lib/test/data (replaced by
      Lib/email/test/data).
      
      Now Tim and Jack can have at it. :)
      04f357cf
  5. 19 Jul, 2002 2 commits
  6. 18 Jul, 2002 1 commit
  7. 20 Jun, 2002 1 commit
  8. 18 Jun, 2002 1 commit
  9. 13 Jun, 2002 5 commits
    • Guido van Rossum's avatar
      Temporarily disable the timeout and socket tests. · 654c11ee
      Guido van Rossum authored
      They still run as standalone scripts, but when used as part of the
      regression test suite, they are effectively no-ops.
      (This is done by renaming test_main to main.)
      654c11ee
    • Guido van Rossum's avatar
      Comment out testHostnameRes() -- it depends on a correctly working · 597257b9
      Guido van Rossum authored
      DNS, and we can't assume that.
      597257b9
    • Guido van Rossum's avatar
      Fix non-blocking connect() for Windows. Refactored the code · 7b8bac10
      Guido van Rossum authored
      that retries the connect() call in timeout mode so it can be shared
      between connect() and connect_ex(), and needs only a single #ifdef.
      
      The test for this was doing funky stuff I don't approve of,
      so I removed it in favor of a simpler test.  This allowed me
      to implement a simpler, "purer" form of the timeout retry code.
      Hopefully that's enough (if you want to be fancy, use non-blocking
      mode and decode the errors yourself, like before).
      7b8bac10
    • Guido van Rossum's avatar
      Major overhaul of timeout sockets: · 11ba0949
      Guido van Rossum authored
      - setblocking(0) and settimeout(0) are now equivalent, and ditto for
        setblocking(1) and settimeout(None).
      
      - Don't raise an exception from internal_select(); let the final call
        report the error (this means you will get an EAGAIN error instead of
        an ETIMEDOUT error -- I don't care).
      
      - Move the select to inside the Py_{BEGIN,END}_ALLOW_THREADS brackets,
        so other theads can run (this was a bug in the original code).
      
      - Redid the retry logic in connect() and connect_ex() to avoid masking
        errors.  This probably doesn't work for Windows yet; I'll fix that
        next.  It may also fail on other platforms, depending on what
        retrying a connect does; I need help with this.
      
      - Get rid of the retry logic in accept().  I don't think it was needed
        at all.  But I may be wrong.
      11ba0949
    • Guido van Rossum's avatar
      Fix a typo. · dfad1a90
      Guido van Rossum authored
      Add a sleep (yuck!) to _testRecvFrom() so the server can set up first.
      dfad1a90
  10. 12 Jun, 2002 8 commits
  11. 06 Jun, 2002 1 commit
    • Guido van Rossum's avatar
      SF patch 555085 (timeout socket implementation) by Michael Gilfix. · 67f7a388
      Guido van Rossum authored
      I've made considerable changes to Michael's code, specifically to use
      the select() system call directly and to store the timeout as a C
      double instead of a Python object; internally, -1.0 (or anything
      negative) represents the None from the API.
      
      I'm not 100% sure that all corner cases are covered correctly, so
      please keep an eye on this.  Next I'm going to try it Windows before
      Tim complains.
      
      No way is this a bugfix candidate. :-)
      67f7a388
  12. 09 Dec, 2001 1 commit
  13. 09 Nov, 2001 1 commit
  14. 02 Nov, 2001 1 commit
  15. 29 Oct, 2001 1 commit
  16. 23 Mar, 2001 1 commit
  17. 09 Feb, 2001 1 commit
  18. 17 Jan, 2001 2 commits
  19. 12 Dec, 2000 1 commit
  20. 29 Jun, 2000 1 commit
  21. 24 Mar, 2000 1 commit
  22. 26 Mar, 1998 1 commit
  23. 01 Oct, 1997 1 commit
  24. 03 Jun, 1997 1 commit
  25. 21 May, 1997 1 commit