An error occurred fetching the project authors.
- 02 Aug, 2002 1 commit
-
-
Skip Montanaro authored
and age of rampant computer breakins I imagine there are plenty of systems with telnet disabled. Successful check of at least one getservbyname() call is required for success
-
- 31 Jul, 2002 2 commits
-
-
Guido van Rossum authored
thinking that he was running his new test by running "make test". Also, I can't get this to fail any more. Your turn. :-)
-
Jeremy Hylton authored
If the long is large enough, the return value will be a negative int. In this case, calling the function a second time won't return the original value passed in.
-
- 25 Jul, 2002 2 commits
-
-
Jeremy Hylton authored
Fixes SF bug #568322. The code should raise an OverflowError if the long is > 32 bits, even on platforms where sizeof(long) > 4.
-
Jeremy Hylton authored
-
- 23 Jul, 2002 1 commit
-
-
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. :)
-
- 19 Jul, 2002 2 commits
-
-
Guido van Rossum authored
where recvfrom() on a TCP stream returns None for the address. This should address the remaining problems on FreeBSD.
-
Guido van Rossum authored
timeout. Added small sleeps to _testAccept() and _testRecv() in NonBlockingTCPTests, to reduce race conditions (I know, this is not the solution!)
-
- 18 Jul, 2002 1 commit
-
-
Guido van Rossum authored
getdefaulttimeout() functions to the socket and _socket modules, and appropriate tests.
-
- 20 Jun, 2002 1 commit
-
-
Guido van Rossum authored
running this as part of the regular test suite again, until I have time to figure out why.
-
- 18 Jun, 2002 1 commit
-
-
Guido van Rossum authored
This is his SF patch 569697. I renamed main() to test_main() again so that this is run as part of the standard test suite.
-
- 13 Jun, 2002 5 commits
-
-
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.)
-
Guido van Rossum authored
DNS, and we can't assume that.
-
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).
-
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.
-
Guido van Rossum authored
Add a sleep (yuck!) to _testRecvFrom() so the server can set up first.
-
- 12 Jun, 2002 8 commits
-
-
Guido van Rossum authored
using "".join(). Fold a long line.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
nonzero value is OK. Also fixed the error message for this and for testGetSockOpt().
-
Guido van Rossum authored
information on what went wrong.
-
Guido van Rossum authored
Changed test_timeout.py to conform to the guidelines in Lib/test/README.
-
- 06 Jun, 2002 1 commit
-
-
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. :-)
-
- 09 Dec, 2001 1 commit
-
-
Finn Bock authored
This closes patch "[ #490414 ] Jython and test_socket".
-
- 09 Nov, 2001 1 commit
-
-
Barry Warsaw authored
socket.gaierror. :( This allows test_socket to pass on a RH6.1-ish Linux system.
-
- 02 Nov, 2001 1 commit
-
-
Martin v. Löwis authored
-
- 29 Oct, 2001 1 commit
-
-
Guido van Rossum authored
-
- 23 Mar, 2001 1 commit
-
-
Barry Warsaw authored
attribute. Jython does not have this function. Closes SF patch #403667.
-
- 09 Feb, 2001 1 commit
-
-
Eric S. Raymond authored
-
- 17 Jan, 2001 2 commits
-
-
Fredrik Lundh authored
'verify' iff it's used by a test module...
-
Marc-André Lemburg authored
and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
-
- 12 Dec, 2000 1 commit
-
-
Fred Drake authored
Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
-
- 29 Jun, 2000 1 commit
-
-
Guido van Rossum authored
-
- 24 Mar, 2000 1 commit
-
-
Guido van Rossum authored
argument: a (host, port) tuple. Like multi-arg append(), multi-arg connect() and bind() may be ruled out!
-
- 26 Mar, 1998 1 commit
-
-
Guido van Rossum authored
-
- 01 Oct, 1997 1 commit
-
-
Guido van Rossum authored
-
- 03 Jun, 1997 1 commit
-
-
Fred Drake authored
-
- 21 May, 1997 1 commit
-
-
Guido van Rossum authored
-