1. 4bffe82 Revert r62152 (Issue #2550). Being able to observe the results of all the buildbots was certainly useful. All of the platforms that have some form of BSD lineage -- FreeBSD, OS X, Solaris and Tru64 -- all pass the test. Windows and Linux, on the other hand, don't. Windows I knew about, Linux was a surprise. Knowing this, I believe a more appropriate fix will revolve around test_support.bind_socket() -- this method needs to return a port that nothing in the system has bound already. The best way to do this may just be to rely on ephemeral ports, rather than having the user specify a desired port, then fall back to four random ports, then try 0. by Trent Nelson · 17 years ago
  2. b8e120c Issue 2550: extend test_socket.py to test SO_REUSEADDR semantics when bind() is called on identical (host, port) combinations in two separate sockets. This should raise an EADDRINUSE socket.error in all cases, irrespective of whether or not SO_REUSEADDR is set on the sockets. However, with Windows, when SO_REUSEADDR is set on the sockets, no error is thrown (an error is thrown when the option isn't set), which results in an extremely wedged python process whenever accept() is called on either of the bound sockets. I'm committing this test now to observe if it's only Windows that has this behaviour (via the buildbots). Note: this WILL break all Windows buildbots for now; once I've observed the results on other platforms, I'll revert, then start looking into a patch. by Trent Nelson · 17 years ago
  3. f7cf388 Remove debug prints; the buildbot now passes the tests by Amaury Forgeot d'Arc · 17 years ago
  4. 672fbf5 Still investigating on the hanging test_socket. by Amaury Forgeot d'Arc · 17 years ago
  5. 5e08e8b The buildbot "x86 W2k8 trunk" seems to hang in test_socket. by Amaury Forgeot d'Arc · 17 years ago
  6. 36550bd Print more information the next time test_socket throws the wrong exception. by Jeffrey Yasskin · 17 years ago
  7. 6c29be5 Disabled test_xmlrpc:test_404. It's causing lots of false alarms. by Christian Heimes · 18 years ago
  8. f66f95d It's verbose, not debug by Christian Heimes · 18 years ago
  9. 4d7e670 Fixed indention problem that caused the second TIPC test to run on systems without TIPC by Christian Heimes · 18 years ago
  10. fb2d25a Issue #1646: Make socket support TIPC. The socket module now has support by Christian Heimes · 18 years ago
  11. a47b75b socket.ioctl is only available on Windows by Christian Heimes · 18 years ago
  12. ea68474 Enable platform-specific tweaks for FreeBSD 8 (exactly same to FreeBSD 7's yet) by Hye-Shik Chang · 18 years ago
  13. 0d4c06e Whitespace normalization. Ugh, we really need to do this more often. by Neal Norwitz · 18 years ago
  14. 1fe9f96 Bug 1688393. Adds a control of negative values in by Facundo Batista · 18 years ago
  15. b8af7bc Redone the tests, using the infrastructure already present by Facundo Batista · 18 years ago
  16. 14553b0 Surrounded with try/finally to socket's default timeout setting by Facundo Batista · 18 years ago
  17. 07c78be Added a 'create_connect()' function to socket.py, which creates a by Facundo Batista · 18 years ago
  18. dd7b052 Patch #1627441: close sockets properly in urllib2. by Georg Brandl · 19 years ago
  19. bb2cc69 Patch #1635058 by Mark Roberts: ensure that htonl and friends never accept or by Guido van Rossum · 19 years ago
  20. 9b0ca79 Patch #1519025 and bug #926423: If a KeyboardInterrupt occurs during by Neal Norwitz · 19 years ago
  21. 7596e83 Release all forwarded functions in .close. Fixes #1513223. by Martin v. Löwis · 19 years ago
  22. 9602cc2 Prevent spurious leaks when running regrtest.py -R. There may be more by Neal Norwitz · 19 years ago
  23. 909eb12 Fix the socket tests so they can be run concurrently. Backport candidate by Neal Norwitz · 19 years ago
  24. 4a9ff16 Get test to pass on S/390. Shout if you think this change is incorrect. by Neal Norwitz · 19 years ago
  25. af2ae72 Fixes in struct and socket from merge reviews. by Martin Blais · 19 years ago
  26. 2856e5f Support for buffer protocol for socket and struct. by Martin Blais · 19 years ago
  27. a9017c3 SF Patch #1062014: AF_UNIX sockets under Linux have a special by Armin Rigo · 19 years ago
  28. cf0a2a8 Deal with openbsd's different style of default /etc/hosts by forcing the fqdn by Anthony Baxter · 19 years ago
  29. 04855cc Fix typo. by Martin v. Löwis · 19 years ago
  30. c667d05 Provide more debug output, to diagnose OpenBSD test failures. by Martin v. Löwis · 19 years ago
  31. bb03ac0 Correct API design mistake from rev. 43126: make socket attributes readonly properties. by Georg Brandl · 19 years ago
  32. bc45a3f RFE #567972: Socket objects' family, type and proto properties are by Georg Brandl · 19 years ago
  33. d2e3ba7 patch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on Windows by Georg Brandl · 20 years ago
  34. 4e42281 Add support for FreeBSD 7. by Hye-Shik Chang · 20 years ago
  35. 01668a1 Fix test for socket.getfqdn() to also include the name returned by by Brett Cannon · 20 years ago
  36. 08febeb Add 'linux2' as one of the platforms that does not use the echo service as one by Brett Cannon · 21 years ago
  37. f64700a Add support for FreeBSD 6. by Hye-Shik Chang · 21 years ago
  38. d4ff206 Being bsd-based, darwin/macosx has the same limitation w.r.t. the "echo" by Skip Montanaro · 21 years ago
  39. 494aaee Whitespace normalization. by Tim Peters · 21 years ago
  40. 331708b Patch #1003700: Add socketpair function to socket module. by Dave Cole · 21 years ago
  41. 18bf43c FreeBSD's services file contains an additional echo service entry, with by Andrew MacIntyre · 21 years ago
  42. 7ff7d2c testGetServBy(): Use services that should be available both on *nix and by Barry Warsaw · 21 years ago
  43. 11b91a0 Added socket.getservbyport(), and make its second argument and that of by Barry Warsaw · 21 years ago
  44. 027bb63 Add weakref support to sockets and re pattern objects. by Raymond Hettinger · 21 years ago
  45. 116d83c SF bug 924242: socket._fileobject._getclosed() returns wrong value by Tim Peters · 21 years ago
  46. 05eb401 Fix indentation error in testGetServByName and rewrite loop to avoid clumsy by Skip Montanaro · 21 years ago
  47. 11a35f5 SF patch #760257: add socket.timeout exception (Contributed by Bob Halley) by Raymond Hettinger · 22 years ago
  48. c2659cf Whitespace normalization. by Tim Peters · 22 years ago
  49. 21d3a32 Combine the functionality of test_support.run_unittest() by Walter Dörwald · 22 years ago
  50. f4001ee Skip testing inet_ntop() an inet_pton() if they aren't defined. by Guido van Rossum · 22 years ago
  51. 47dfa4a Patch by Jp Calderone: by Guido van Rossum · 22 years ago
  52. 9647b52 Also skip testHostnameRes() if gethostbyaddr() raises an exception. by Guido van Rossum · 23 years ago
  53. 71e0294 Skip testHostnameRes() if gethostbyname() raises an exception. by Guido van Rossum · 23 years ago
  54. c0a0e08 Since it tests both ntohl and ntohs, the test should not be called by Guido van Rossum · 23 years ago
  55. a2627af Maybe this fixes test_socket on 64-bit Linux. by Guido van Rossum · 23 years ago
  56. 522e769 Skip UDP testing for MacPython (for now), it hangs. This may be due to by Jack Jansen · 23 years ago
  57. 558fc97 Don't use hex constants representing negative numbers. by Guido van Rossum · 23 years ago
  58. e531e29 testSendAll(): loop until all data is read; this was necessary at by Guido van Rossum · 23 years ago
  59. 469cdad Whitespace normalization. by Tim Peters · 23 years ago
  60. 8c94383 Replace docstrings on test functions witrh comments -- then unittest by Guido van Rossum · 23 years ago
  61. 10e3f41 Tighten the unbuffered readline test to distinguish between the two lines. by Guido van Rossum · 23 years ago
  62. 29bf915 Oops. I accidentally commented out some tests. by Guido van Rossum · 23 years ago
  63. e9f6614 "Unbuffered" mode of class _fileobject wasn't actually unbuffered, by Guido van Rossum · 23 years ago
  64. f443330 testGetServByName shouldn't check for getservbyname - the socket module by Skip Montanaro · 23 years ago
  65. d3c884d modify testGetServByName so it tries a few different protocols. In this day by Skip Montanaro · 23 years ago
  66. b995eb7 Enable test_socket again, if only to prevent mistakes like Jeremy by Guido van Rossum · 23 years ago
  67. cbd5b89 Repair testNtoH for large long arguments. by Jeremy Hylton · 23 years ago
  68. c075e19 Extended socket.htonl and ntohl to accept longs. by Jeremy Hylton · 23 years ago
  69. b8a690d Remove test that was none too picky about whether attributes exist. by Jeremy Hylton · 23 years ago
  70. 04f357c Get rid of relative imports in all unittests. Now anything that by Barry Warsaw · 23 years ago
  71. 246a58a Remove a few lines that aren't used and cause problems on platforms by Guido van Rossum · 23 years ago
  72. b6cc7d2 Add test for previous core dump when sending on closed socket with timeout. by Guido van Rossum · 23 years ago
  73. 9d0c8ce Add default timeout functionality. This adds setdefaulttimeout() and by Guido van Rossum · 23 years ago
  74. 3875e90 I get failures half of the time that I run this, so I'll disable by Guido van Rossum · 23 years ago
  75. 83ccb4e Michael fixed the race conditions and removed the sleeps. by Guido van Rossum · 23 years ago
  76. 654c11e Temporarily disable the timeout and socket tests. by Guido van Rossum · 23 years ago
  77. 597257b Comment out testHostnameRes() -- it depends on a correctly working by Guido van Rossum · 23 years ago
  78. 7b8bac1 Fix non-blocking connect() for Windows. Refactored the code by Guido van Rossum · 23 years ago
  79. 11ba094 Major overhaul of timeout sockets: by Guido van Rossum · 23 years ago
  80. dfad1a9 Fix a typo. by Guido van Rossum · 23 years ago
  81. ab65996 Remove some overly complicated ways to concatenate and repeat strings by Guido van Rossum · 23 years ago
  82. 284a2cf Don't test for Java, test for sys.getrefcount. by Guido van Rossum · 23 years ago
  83. 1c93801 Some provisional changes to get more tests to run on Windows (I hope). by Guido van Rossum · 23 years ago
  84. 8e95ca8 Argh. Typo. :-( by Guido van Rossum · 23 years ago
  85. 6fb3d5e Allow absent fromfd(), for Windows. by Guido van Rossum · 23 years ago
  86. 733632a testSetSockOpt() should not require the reuse flag to be 1 -- any by Guido van Rossum · 23 years ago
  87. 7648968 Lose the message on assertEqual calls -- they actually hide by Guido van Rossum · 23 years ago
  88. 24e4af8 New test suite for the socket module by Michael Gilfix. by Guido van Rossum · 23 years ago
  89. 67f7a38 SF patch 555085 (timeout socket implementation) by Michael Gilfix. by Guido van Rossum · 23 years ago
  90. ada1983 Refcounting isn't available in Jython. Putting the jython test around it. by Finn Bock · 24 years ago
  91. 4279346 getnameinfo() appears to raise socket.error instead of by Barry Warsaw · 24 years ago
  92. 06b1d21 Correct getnameinfo refcounting and tuple parsing. Fixes #476648. by Martin v. Löwis · 24 years ago
  93. cb65688 Test sendall(). by Guido van Rossum · 24 years ago
  94. 6870bba Make socket.getservbyname test optional on socket module having that by Barry Warsaw · 24 years ago
  95. 83ff749 String method conversion. by Eric S. Raymond · 25 years ago
  96. f785042 a bold attempt to fix things broken by MAL's verify patch: import by Fredrik Lundh · 25 years ago
  97. 3661908 This patch removes all uses of "assert" in the regression test suite by Marc-André Lemburg · 25 years ago
  98. 132dce2 Update the code to better reflect recommended style: by Fred Drake · 25 years ago
  99. 1bfdc78 Skip Montanaro: modify test_socket.py to listen/connect using loopback addr by Guido van Rossum · 25 years ago
  100. 7e57bc4 Fix the test so that connect() and bind() are called with a single by Guido van Rossum · 25 years ago