summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* SF patch 852995: add processors feature to urllib2Jeremy Hylton2003-12-141-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | John J. Lee writes: "the patch makes it possible to implement functionality like HTTP cookie handling, Refresh handling, etc. etc. using handler objects. At the moment urllib2's handler objects aren't quite up to the job, which results in a lot of cut-n-paste and subclassing. I believe the changes are backwards-compatible, with the exception of people who've reimplemented build_opener()'s functionality -- those people would need to call opener.add_handler(HTTPErrorProcessor). The main change is allowing handlers to implement methods like: http_request(request) http_response(request, response) In addition to the usual http_open(request) http_error{_*}(...) " Note that the change isn't well documented at least in part because handlers aren't well documented at all. Need to fix this. Add a bunch of new tests. It appears that none of these tests actually use the network, so they don't need to be guarded by a resource flag.
* Add a versionadded tag for traceback.format_exc()Neal Norwitz2003-12-131-0/+1
|
* After hearing from someone who gave up on timeout sockets due to aGuido van Rossum2003-12-131-0/+4
| | | | | mistake in his code, I'm adding a note explaining that you should call settimeout() before connect().
* Fix broken link (closes bug #852236). Thanks to Fedor Baart for bug file andBrett Cannon2003-12-111-1/+1
| | | | finding proper link.
* SF patch #855195: fix typosRaymond Hettinger2003-12-074-3/+4
| | | | (Contributed by George Yoshida.)
* Fix double hyphen markup.Raymond Hettinger2003-12-071-3/+3
|
* Put str() in alphabetical order.Raymond Hettinger2003-12-071-10/+10
|
* SF bug #855317: unittest: 5.3.9 Getting Extended Error InformationRaymond Hettinger2003-12-071-42/+0
| | | | | | | The example code did not work and could not easily be made to work. Since the docs were already complex and the feature was not used (it took two years for the errors to surface), we decided to dedocument it entirely, leaving unittest cleaner than before.
* Edit description a bitAndrew M. Kuchling2003-12-061-2/+2
|
* Implement itertools.groupby()Raymond Hettinger2003-12-061-0/+60
| | | | | | | Original idea by Guido van Rossum. Idea for skipable inner iterators by Raymond Hettinger. Idea for argument order and identity function default by Alex Martelli. Implementation by Hye-Shik Chang (with tweaks by Raymond Hettinger).
* SF bug #844123: "up" instead of "down" in turtle module documentationRaymond Hettinger2003-12-061-1/+1
|
* - fix markup in the bool() descriptionFred Drake2003-12-051-10/+9
| | | | | - note the behavior of bool() with no arg in the main body of the description
* Add parameters indent, width and depth to pprint.pprint() and pprint.pformat()Walter Dörwald2003-12-031-6/+14
| | | | and pass them along to the PrettyPrinter constructor.
* As discussed on python-dev, added two extractor functions to theRaymond Hettinger2003-12-011-0/+33
| | | | operator module.
* Patch #849350: Update to document bool return values. Backported to 2.3.Martin v. Löwis2003-11-274-4/+4
|
* Patch #849595: Add socket.shutdown() constants.Martin v. Löwis2003-11-271-2/+2
|
* Nits from a review of the documentation update.Raymond Hettinger2003-11-262-6/+3
|
* Add version changed doc for addition of fillchar to ljust/rjust/centerNeal Norwitz2003-11-261-0/+3
|
* Add optional fillchar argument to ljust(), rjust(), and center() string methods.Raymond Hettinger2003-11-261-6/+8
|
* As discussed on python-dev, banish apply(), buffer(), coerce(), andRaymond Hettinger2003-11-251-51/+68
| | | | intern() to a separate region in the docs.
* * Checkin remaining documentationRaymond Hettinger2003-11-241-0/+120
| | | | | | | * Add more tests * Refactor and neaten the code a bit. * Rename union_update() to update(). * Improve the algorithms (making them a closer to sets.py).
* More words: gave more motivation, and added cautions about the specialTim Peters2003-11-211-10/+51
| | | | dangers of trying to iterate over weak dicts.
* Add a missing import. Closes SF # 816344.Barry Warsaw2003-11-211-0/+1
|
* Patch #831747: Add skip_accept_encoding parameter to putrequest.Martin v. Löwis2003-11-191-2/+7
|
* Generator's constructor: The documentation was incorrect regarding howBarry Warsaw2003-11-191-3/+2
| | | | | | header wrapping gets done when maxheaderlen <> 0. The header really gets wrapped via the email.Header.Header class, which has a more sophisticated algorithm than just splitting on semi-colons.
* Patch #843088: Fix typos. Backported to 2.3.Martin v. Löwis2003-11-182-3/+3
|
* * Migrate set() and frozenset() from the sandbox.Raymond Hettinger2003-11-161-0/+19
| | | | | | | | * Install the unittests, docs, newsitem, include file, and makefile update. * Exercise the new functions whereever sets.py was being used. Includes the docs for libfuncs.tex. Separate docs for the types are forthcoming.
* Fix typoRaymond Hettinger2003-11-161-1/+1
|
* remove "support" for BerkeleyDB 3.1, it hasn't worked for a long timeGregory P. Smith2003-11-131-2/+2
|
* Improve the implementation of itertools.tee().Raymond Hettinger2003-11-121-4/+12
| | | | | | | | | | | Formerly, underlying queue was implemented in terms of two lists. The new queue is a series of singly-linked fixed length lists. The new implementation runs much faster, supports multi-way tees, and allows tees of tees without additional memory costs. The root ideas for this structure were contributed by Andrew Koenig and Guido van Rossum.
* fix typo in markupFred Drake2003-11-101-1/+1
|
* add missing "if"Fred Drake2003-11-101-1/+1
|
* Mention that getsid is new in 2.4.Martin v. Löwis2003-11-101-1/+1
|
* Patch #798297: Add IMAP THREAD command.Martin v. Löwis2003-11-101-0/+22
|
* Patch #839038: Add getsid(2).Martin v. Löwis2003-11-101-0/+6
|
* Add docs for readmodule_ex and its function-descriptors, fixingAlex Martelli2003-11-091-5/+42
| | | | | sf bug#812818. (same as commit of Sun Nov 2 to the release23-maint branch)
* Avoid giving advice that's bad for security, as per SF bug #823515Alex Martelli2003-11-091-1/+3
| | | | (same as commit of Sun Nov 2 to the release23-maint branch)
* Implement and apply PEP 322, reverse iterationRaymond Hettinger2003-11-061-0/+8
|
* Add traceback.format_exc().Neil Schemenauer2003-11-051-0/+5
|
* SF patch #834444: add versionadd to new functionsRaymond Hettinger2003-11-021-0/+2
| | | | (Contributed by George Yoshida.)
* [Bug #817178] Fix incorrect arguments in example, noted by Terry ReedyAndrew M. Kuchling2003-10-311-1/+1
|
* Patch #830858: Correct the number of is-functions. Backported to 2.3 and 2.2.Martin v. Löwis2003-10-311-1/+1
|
* Patch #531629: Add multicall support.Martin v. Löwis2003-10-311-0/+29
|
* Patch #: Add POP3 over SSL support.Martin v. Löwis2003-10-311-2/+18
|
* Fix typo.Raymond Hettinger2003-10-301-1/+1
|
* Minor grammatical fix.Brett Cannon2003-10-301-1/+1
|
* Add list.sorted() classmethod.Raymond Hettinger2003-10-291-4/+11
|
* SF bug #827902: ctime is not creation timeRaymond Hettinger2003-10-291-2/+3
| | | | New fix for this bug recognizes differing definitions on various systems.
* Documented gc.get_referrers() as dangerous.Armin Rigo2003-10-281-0/+5
| | | | SF bug 793822
* SF bug #827902: ctime is not creation timeRaymond Hettinger2003-10-271-1/+2
| | | | Document the correct definition of os.path.getctime()