summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix markup.Raymond Hettinger2004-07-121-9/+10
|
* FreeBSD's services file contains an additional echo service entry, withAndrew MacIntyre2004-07-121-1/+7
| | | | | | | | | | | 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.
* install test/decimaltestdata as wellAnthony Baxter2004-07-121-0/+3
|
* install test/decimaltestdata as wellAnthony Baxter2004-07-121-0/+1
|
* Removed debugging print statements from TimedRotatingFileHandler, and sorted ↵Vinay Sajip2004-07-121-3/+4
| | | | list returned by glob.glob() (SF #987166)
* another note for amkAnthony Baxter2004-07-121-0/+2
|
* Simplified the new get/get_nowait/put/put_nowait implementations a bit.Tim Peters2004-07-121-27/+12
|
* Bug #788520: Queue class has logic error when non-blockingTim Peters2004-07-123-88/+76
| | | | | | | | | | | | | | | | | | | | 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.
* SF patch 986010: add missing doc for datetime C API, fromTim Peters2004-07-112-24/+97
| | | | | | | | | | 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.
* Remove tabs introduced in last commit.Brett Cannon2004-07-111-4/+4
|
* Patch [ 972332 ] urllib2 FTPHandler bugs / John J. LeeKurt B. Kaiser2004-07-112-12/+11
| | | | | Modified Files: urllib2.py test/test_urllib2.py
* Add FAQ on non-GNU make error. Update copyright date to 2004.Kurt B. Kaiser2004-07-111-1/+8
|
* Added documentation for the "smtpd" module.Fred Drake2004-07-113-0/+65
| | | | Closes SF bug #450803.
* Style nit.Raymond Hettinger2004-07-111-2/+2
|
* Fix decimal write-up nits.Raymond Hettinger2004-07-111-7/+7
|
* Minor improvements, fixups and wording changes everywhere.Raymond Hettinger2004-07-111-163/+169
|
* Clarify requirement for GNU makeKurt B. Kaiser2004-07-111-0/+2
|
* Patch 851752 (fixes bug 820583)Kurt B. Kaiser2004-07-111-3/+10
| | | | | | | | | | | | 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
* SequenceMatcher(None, [], []).get_grouped_opcodes() now returns a generatorBrett Cannon2004-07-103-0/+13
| | | | | | that behaves as if both lists has an empty string in each of them. Closes bug #979794 (and duplicate bug #980117).
* [Patch #947352 from Jason Andryuk] Add support for AF_PACKET hardware addressesAndrew M. Kuchling2004-07-101-6/+15
|
* Debug output is now printed to sys.stderr .Brett Cannon2004-07-102-9/+12
| | | | Closes bug #980938.
* Fix minor error in example.Brett Cannon2004-07-101-1/+1
|
* posixpath.realpath() now detects symlink loops and returns the path just beforeBrett Cannon2004-07-102-6/+34
| | | | | | the loop starts. Closes bug #930024. Thanks AM Kuchling.
* Add PyArg_VaParseTupleAndKeywords(). Document this function andBrett Cannon2004-07-104-1/+55
| | | | | | PyArg_VaParse(). Closes patch #550732. Thanks Greg Chapman.
* [Patch #981794] Add support for Firefox/FirebirdAndrew M. Kuchling2004-07-101-5/+6
|
* [Patch 988444]Andrew M. Kuchling2004-07-101-34/+31
| | | | | | | | | | | | 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.
* [Patch #965175] Incorporate a suggestion for a better error messageAndrew M. Kuchling2004-07-101-1/+2
|
* Change some declarations from ``char *`` to ``const char *``. Also addedBrett Cannon2004-07-101-6/+8
| | | | | docstrings for decode and encode; accidentally were left out of the PyMethodDev table.
* [Patch #909007] Enable a bunch of safe bug workarounds in OpenSSL, for ↵Andrew M. Kuchling2004-07-101-0/+1
| | | | compatibility with various broken SSL implementations out there.
* Add itemAndrew M. Kuchling2004-07-102-0/+4
|
* [Patch #945642] Fix non-blocking SSL sockets, which blocked on reads/writes ↵Andrew M. Kuchling2004-07-101-26/+60
| | | | | | | in Python 2.3. (It turns out that the Debian unstable packaging of Python 2.3.4 includes this patch.) Patch by Tino Lange.
* Clarify docs for inspect.getargspec() that the fourth value is None when thereBrett Cannon2004-07-101-3/+3
| | | | are no default arguments for the function.
* Make ntpath compress multiple slashes between drive letter and the rest of theBrett Cannon2004-07-103-9/+28
| | | | | | path. Also clarifies UNC handling and adds appropriate tests. Applies patch #988607 to fix bug #980327. Thanks Paul Moore.
* [Patch #988602] Move the urllib2 tests into the test frameworkAndrew M. Kuchling2004-07-102-78/+129
|
* Add comments at end of every #endif and fix ones already there when for closingBrett Cannon2004-07-101-11/+11
| | | | off #ifndef's.
* Add note about closing of bug #679953 and add Jimmy Burgett for helping out toBrett Cannon2004-07-102-0/+5
| | | | Misc/ACKS.
* Make struct formats for specifying file size to be unsigned instead of signedBrett Cannon2004-07-101-4/+4
| | | | | | | | (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.
* Add an itemAndrew M. Kuchling2004-07-101-0/+3
|
* [Patch #969900] Various corrections and updates to cookielib docsAndrew M. Kuchling2004-07-101-35/+41
|
* [Patch #969907] Add traceback to warning outputAndrew M. Kuchling2004-07-101-4/+5
|
* [Patch #972310] Apply correction to docsAndrew M. Kuchling2004-07-101-10/+3
|
* In poll(), check connections for exceptional conditionsAndrew M. Kuchling2004-07-101-0/+15
|
* Added note about new codecs module APIs.Marc-André Lemburg2004-07-101-0/+4
|
* Fix typo.Raymond Hettinger2004-07-102-2/+2
|
* [Bug 949832] Fix example; edit sentenceAndrew M. Kuchling2004-07-101-3/+3
|
* Return value from .close(); move .set_file upAndrew M. Kuchling2004-07-101-2/+2
|
* [Bug #835415] AIX can return modes that are >65536, which causes an ↵Andrew M. Kuchling2004-07-101-1/+1
| | | | OverflowError. Fix from Albert Chin
* [Patch #988504] Fix HTTP error handling via a patch from John J. LeeAndrew M. Kuchling2004-07-101-10/+6
|
* [Patch #982665 ] add SO_EXCLUSIVEADDRUSE constantAndrew M. Kuchling2004-07-101-0/+4
|
* [Patch #987052 from Thomas Guettler]Andrew M. Kuchling2004-07-101-6/+21
| | | | | | Don't output empty tags Escape page header Remove <p> before <table> (tidy complains)