- 12 Jul, 2004 8 commits
-
-
Raymond Hettinger authored
-
Andrew MacIntyre authored
a non-standard protocol and on a lower port than the tcp/udp entries, which breaks the assumption that there will only be one service by a given name on a given port when no protocol is specified. Previous versions of this code have had other problems as a result of different service definitions amongst common platforms. As this platform has an extra, unexpected, service entry, I've special cased the platform rather than re-order the list of services checked to highlight the pitfall.
-
Anthony Baxter authored
-
Anthony Baxter authored
-
Vinay Sajip authored
Removed debugging print statements from TimedRotatingFileHandler, and sorted list returned by glob.glob() (SF #987166)
-
Anthony Baxter authored
-
Tim Peters authored
-
Tim Peters authored
I don't agree it had a bug (see the report), so this is *not* a candidate for backporting, but the docs were confusing and the Queue implementation was old enough to vote. Rewrote put/put_nowait/get/get_nowait from scratch, to use a pair of Conditions (not_full and not_empty), sharing a common mutex. The code is 1/4 the size now, and 6.25x easier to understand. For blocking with timeout, we also get to reuse (indirectly) the tedious timeout code from threading.Condition. The Full and Empty exceptions raised by non-blocking calls are now easy (instead of nearly impossible) to explain truthfully: Full is raised if and only if the Queue truly is full when the non-blocking put call checks the queue size, and similarly for Empty versus non-blocking get. What I don't know is whether the new implementation is slower (or faster) than the old one. I don't really care. Anyone who cares a lot is encouraged to check that.
-
- 11 Jul, 2004 10 commits
-
-
Tim Peters authored
Anthony Tuininga. This is a derived patch, taking the opportunity to add some organization to the now-large pile of datetime-related macros, and to factor out tedious repeated text. Also improved some clumsy wording in NEWS.
-
Brett Cannon authored
-
Kurt B. Kaiser authored
Modified Files: urllib2.py test/test_urllib2.py
-
Kurt B. Kaiser authored
-
Fred Drake authored
Closes SF bug #450803.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Kurt B. Kaiser authored
-
Kurt B. Kaiser authored
Patch by John J Lee Reviewed by Jeff Epler / KBK Doc built OK. urlopen() may return None if no handler handles the request. Also clarify what install_opener does. M liburllib2.tex
-
- 10 Jul, 2004 22 commits
-
-
Brett Cannon authored
that behaves as if both lists has an empty string in each of them. Closes bug #979794 (and duplicate bug #980117).
-
Andrew M. Kuchling authored
-
Brett Cannon authored
Closes bug #980938.
-
Brett Cannon authored
-
Brett Cannon authored
the loop starts. Closes bug #930024. Thanks AM Kuchling.
-
Brett Cannon authored
PyArg_VaParse(). Closes patch #550732. Thanks Greg Chapman.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
Read multiple special headers - fixed/improved handling of extended/special headers in read-mode (adding new extended headers should be less painful now). - improved nts() function. - removed TarFile.chunks datastructure which is not (and was never) needed. - fixed TarInfo.tobuf(), fields could overflow with too large values, values are now clipped.
-
Andrew M. Kuchling authored
-
Brett Cannon authored
docstrings for decode and encode; accidentally were left out of the PyMethodDev table.
-
Andrew M. Kuchling authored
[Patch #909007] Enable a bunch of safe bug workarounds in OpenSSL, for compatibility with various broken SSL implementations out there.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
(It turns out that the Debian unstable packaging of Python 2.3.4 includes this patch.) Patch by Tino Lange.
-
Brett Cannon authored
are no default arguments for the function.
-
Brett Cannon authored
path. Also clarifies UNC handling and adds appropriate tests. Applies patch #988607 to fix bug #980327. Thanks Paul Moore.
-
Andrew M. Kuchling authored
-
Brett Cannon authored
off #ifndef's.
-
Brett Cannon authored
Misc/ACKS.
-
Brett Cannon authored
(ZIP file spec. says in section K, "General notes" in point 1 that unless specified otherwise values are unsigned and they are not specified as signed in the spec). Closes bug #679953. Thanks Jimmy Burgett.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-