Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF patch 852995: add processors feature to urllib2 | Jeremy Hylton | 2003-12-14 | 1 | -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 Norwitz | 2003-12-13 | 1 | -0/+1 |
| | |||||
* | After hearing from someone who gave up on timeout sockets due to a | Guido van Rossum | 2003-12-13 | 1 | -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 and | Brett Cannon | 2003-12-11 | 1 | -1/+1 |
| | | | | finding proper link. | ||||
* | SF patch #855195: fix typos | Raymond Hettinger | 2003-12-07 | 4 | -3/+4 |
| | | | | (Contributed by George Yoshida.) | ||||
* | Fix double hyphen markup. | Raymond Hettinger | 2003-12-07 | 1 | -3/+3 |
| | |||||
* | Put str() in alphabetical order. | Raymond Hettinger | 2003-12-07 | 1 | -10/+10 |
| | |||||
* | SF bug #855317: unittest: 5.3.9 Getting Extended Error Information | Raymond Hettinger | 2003-12-07 | 1 | -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 bit | Andrew M. Kuchling | 2003-12-06 | 1 | -2/+2 |
| | |||||
* | Implement itertools.groupby() | Raymond Hettinger | 2003-12-06 | 1 | -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 documentation | Raymond Hettinger | 2003-12-06 | 1 | -1/+1 |
| | |||||
* | - fix markup in the bool() description | Fred Drake | 2003-12-05 | 1 | -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örwald | 2003-12-03 | 1 | -6/+14 |
| | | | | and pass them along to the PrettyPrinter constructor. | ||||
* | As discussed on python-dev, added two extractor functions to the | Raymond Hettinger | 2003-12-01 | 1 | -0/+33 |
| | | | | operator module. | ||||
* | Patch #849350: Update to document bool return values. Backported to 2.3. | Martin v. Löwis | 2003-11-27 | 4 | -4/+4 |
| | |||||
* | Patch #849595: Add socket.shutdown() constants. | Martin v. Löwis | 2003-11-27 | 1 | -2/+2 |
| | |||||
* | Nits from a review of the documentation update. | Raymond Hettinger | 2003-11-26 | 2 | -6/+3 |
| | |||||
* | Add version changed doc for addition of fillchar to ljust/rjust/center | Neal Norwitz | 2003-11-26 | 1 | -0/+3 |
| | |||||
* | Add optional fillchar argument to ljust(), rjust(), and center() string methods. | Raymond Hettinger | 2003-11-26 | 1 | -6/+8 |
| | |||||
* | As discussed on python-dev, banish apply(), buffer(), coerce(), and | Raymond Hettinger | 2003-11-25 | 1 | -51/+68 |
| | | | | intern() to a separate region in the docs. | ||||
* | * Checkin remaining documentation | Raymond Hettinger | 2003-11-24 | 1 | -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 special | Tim Peters | 2003-11-21 | 1 | -10/+51 |
| | | | | dangers of trying to iterate over weak dicts. | ||||
* | Add a missing import. Closes SF # 816344. | Barry Warsaw | 2003-11-21 | 1 | -0/+1 |
| | |||||
* | Patch #831747: Add skip_accept_encoding parameter to putrequest. | Martin v. Löwis | 2003-11-19 | 1 | -2/+7 |
| | |||||
* | Generator's constructor: The documentation was incorrect regarding how | Barry Warsaw | 2003-11-19 | 1 | -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öwis | 2003-11-18 | 2 | -3/+3 |
| | |||||
* | * Migrate set() and frozenset() from the sandbox. | Raymond Hettinger | 2003-11-16 | 1 | -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 typo | Raymond Hettinger | 2003-11-16 | 1 | -1/+1 |
| | |||||
* | remove "support" for BerkeleyDB 3.1, it hasn't worked for a long time | Gregory P. Smith | 2003-11-13 | 1 | -2/+2 |
| | |||||
* | Improve the implementation of itertools.tee(). | Raymond Hettinger | 2003-11-12 | 1 | -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 markup | Fred Drake | 2003-11-10 | 1 | -1/+1 |
| | |||||
* | add missing "if" | Fred Drake | 2003-11-10 | 1 | -1/+1 |
| | |||||
* | Mention that getsid is new in 2.4. | Martin v. Löwis | 2003-11-10 | 1 | -1/+1 |
| | |||||
* | Patch #798297: Add IMAP THREAD command. | Martin v. Löwis | 2003-11-10 | 1 | -0/+22 |
| | |||||
* | Patch #839038: Add getsid(2). | Martin v. Löwis | 2003-11-10 | 1 | -0/+6 |
| | |||||
* | Add docs for readmodule_ex and its function-descriptors, fixing | Alex Martelli | 2003-11-09 | 1 | -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 #823515 | Alex Martelli | 2003-11-09 | 1 | -1/+3 |
| | | | | (same as commit of Sun Nov 2 to the release23-maint branch) | ||||
* | Implement and apply PEP 322, reverse iteration | Raymond Hettinger | 2003-11-06 | 1 | -0/+8 |
| | |||||
* | Add traceback.format_exc(). | Neil Schemenauer | 2003-11-05 | 1 | -0/+5 |
| | |||||
* | SF patch #834444: add versionadd to new functions | Raymond Hettinger | 2003-11-02 | 1 | -0/+2 |
| | | | | (Contributed by George Yoshida.) | ||||
* | [Bug #817178] Fix incorrect arguments in example, noted by Terry Reedy | Andrew M. Kuchling | 2003-10-31 | 1 | -1/+1 |
| | |||||
* | Patch #830858: Correct the number of is-functions. Backported to 2.3 and 2.2. | Martin v. Löwis | 2003-10-31 | 1 | -1/+1 |
| | |||||
* | Patch #531629: Add multicall support. | Martin v. Löwis | 2003-10-31 | 1 | -0/+29 |
| | |||||
* | Patch #: Add POP3 over SSL support. | Martin v. Löwis | 2003-10-31 | 1 | -2/+18 |
| | |||||
* | Fix typo. | Raymond Hettinger | 2003-10-30 | 1 | -1/+1 |
| | |||||
* | Minor grammatical fix. | Brett Cannon | 2003-10-30 | 1 | -1/+1 |
| | |||||
* | Add list.sorted() classmethod. | Raymond Hettinger | 2003-10-29 | 1 | -4/+11 |
| | |||||
* | SF bug #827902: ctime is not creation time | Raymond Hettinger | 2003-10-29 | 1 | -2/+3 |
| | | | | New fix for this bug recognizes differing definitions on various systems. | ||||
* | Documented gc.get_referrers() as dangerous. | Armin Rigo | 2003-10-28 | 1 | -0/+5 |
| | | | | SF bug 793822 | ||||
* | SF bug #827902: ctime is not creation time | Raymond Hettinger | 2003-10-27 | 1 | -1/+2 |
| | | | | Document the correct definition of os.path.getctime() |