- 07 Haz, 2002 9 kayıt (commit)
-
-
Guido van Rossum yazdı
and fromfd.
-
Neal Norwitz yazdı
-
Guido van Rossum yazdı
fromfd() assumes a blocking non-timeout socket.
-
Guido van Rossum yazdı
settimeout(). Already, settimeout() canceled non-blocking mode; now, setblocking() also cancels the timeout. This is easier to document. (XXX should settimeout(0) be an alias for setblocking(0)? They seem to have roughly the same effect. Also, I'm not sure that the code in connect() and accept() is correct in all cases. We'll sort this out soon enough.)
-
Skip Montanaro yazdı
-
Guido van Rossum yazdı
cleanup as well, e.g. renamed NTinit to os_init.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
delimiters. Also repaired some docstrings and comments.
-
Guido van Rossum yazdı
not testing it -- apparently test_timeout.py doesn't test anything useful): In internal_select(): - The tv_usec part of the timeout for select() was calculated wrong. - The first argument to select() was one too low. - The sense of the direction argument to internal_select() was inverted. In PySocketSock_settimeout(): - The calls to internal_setblocking() were swapped. Also, repaired some comments and fixed the test for the return value of internal_select() in sendall -- this was in the original patch.
-
- 06 Haz, 2002 23 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Neal Norwitz yazdı
Add version info, and fix another typo and wording spotted by /F. I think this is what he meant. :-)
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Guido van Rossum yazdı
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. :-)
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
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. :-)
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
otherwise this code could segfault: from socket import socket s = socket.__new__(socket) s.recv(100)
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
Straightforward fix. Will backport to 2.2. If there's ever a new 2.1 release, this could be backported there too (since it's an issue with anything that's got both a __reduce__ and a __setstate__).
-
Guido van Rossum yazdı
Straightforward fix. Will backport to 2.2. If there's ever a new 2.1 release, this could be backported there too (since it's an issue with anything that's got both a __reduce__ and a __setstate__).
-
http://www.python.org/sf/561478Walter Dörwald yazdı
This uses cgi.parse_header() in Checker.checkforhtml(), so that webchecker recognises the mime type text/html even if options are specified.
-
Raymond Hettinger yazdı
Made conversion failure error messages consistent between types. Added related unittests.
-
Neal Norwitz yazdı
-
Jeremy Hylton yazdı
The specific warning is that clean didn't find a directory that should be removed if it exists.
-
Michael W. Hudson yazdı
out how to just activate my code on platforms where I know it works (currently only linux/x86).
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Walter Dörwald yazdı
equivalent attributes in a few more spots. This closes SF patch http://www.python.org/sf/562373
-
Guido van Rossum yazdı
-
- 05 Haz, 2002 6 kayıt (commit)
-
-
Raymond Hettinger yazdı
Also, added more regression tests to cover the new type and test its conformity with range().
-
Piers Lauder yazdı
-
Raymond Hettinger yazdı
-
Guido van Rossum yazdı
Change default for get() back to None. Will backport to 2.2.1.
-
Just van Rossum yazdı
-
Thomas Heller yazdı
Closes SF patch # 560250. Bugfix candidate IMO.
-
- 04 Haz, 2002 2 kayıt (commit)
-
-
Jeremy Hylton yazdı
Fix a bunch of multiline string constants that used +.
-
Jeremy Hylton yazdı
-