Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove self from the arguments for the function add_type(). | Walter Dörwald | 2003-12-19 | 1 | -1/+1 |
| | | | | Backport candidate. | ||||
* | SF #859573: Reduce compiler warnings on gcc 3.2 and above. | Hye-Shik Chang | 2003-12-19 | 1 | -1/+14 |
| | |||||
* | Enable some unittests on FreeBSD. | Hye-Shik Chang | 2003-12-19 | 2 | -3/+7 |
| | | | | | test__locale: add typical POSIX-style full locale names. test_locale: use en_US.US-ASCII on FreeBSD. | ||||
* | Sync with python-mode project. Adds two changes: | Skip Montanaro | 2003-12-18 | 1 | -5/+47 |
| | | | | | | | * in py-checker-run, fall back to read-string if read-shell-command (XEmacs-specific) is not available. * highlight variables would mask builtins as if they were keywords. | ||||
* | minor markup adjustment | Fred Drake | 2003-12-18 | 1 | -2/+2 |
| | |||||
* | Fix typo | Andrew M. Kuchling | 2003-12-18 | 1 | -1/+1 |
| | |||||
* | Add various items | Andrew M. Kuchling | 2003-12-18 | 1 | -4/+60 |
| | |||||
* | fix loss of a space after indexing markup | Fred Drake | 2003-12-18 | 1 | -1/+1 |
| | |||||
* | - use correct markup | Fred Drake | 2003-12-18 | 1 | -5/+5 |
| | | | | - re-wrap resulting long lines | ||||
* | fix weird sh-bang line | Fred Drake | 2003-12-18 | 1 | -1/+1 |
| | |||||
* | avoid bash-isms | Fred Drake | 2003-12-18 | 1 | -2/+2 |
| | |||||
* | Guido grants a Christmas wish: | Raymond Hettinger | 2003-12-17 | 1 | -0/+14 |
| | | | | sorted() becomes a regular function instead of a classmethod. | ||||
* | Guido grants a Christmas wish: | Raymond Hettinger | 2003-12-17 | 1 | -2/+2 |
| | | | | sorted() becomes a regular function instead of a classmethod. | ||||
* | Remove methods that are no longer called by urllib2. | Jeremy Hylton | 2003-12-17 | 1 | -14/+0 |
| | |||||
* | Guido grants a Christmas wish: | Raymond Hettinger | 2003-12-17 | 15 | -138/+120 |
| | | | | sorted() becomes a regular function instead of a classmethod. | ||||
* | Add methods to MockHTTPClass for modern httplib interface. | Jeremy Hylton | 2003-12-17 | 1 | -51/+77 |
| | | | | Replace lots of assert_(x == y) with assertEqual(x, y). | ||||
* | Rewrite AbstractHTTPHandler to use modern httplib interface. | Jeremy Hylton | 2003-12-17 | 1 | -25/+26 |
| | | | | | | | | | | | | The chief benefit of this change is that requests will now use HTTP/1.1 instead of HTTP/1.0. Bump the module version number as part of the change. There are two possible incompatibilities that we'll need to watch out for when we get to an alpha release. We may get a different class of exceptions out of httplib, and the do_open() method changed its signature. The latter is only important if anyone actually subclasses AbstractHTTPHandler. | ||||
* | Fix erroneus argument parsing of socket.htons() on 64bit big endian | Hye-Shik Chang | 2003-12-17 | 1 | -1/+1 |
| | | | | machines. | ||||
* | Update documentations for str.rsplit() with Alex Martelli's rewrite. | Hye-Shik Chang | 2003-12-17 | 2 | -28/+13 |
| | |||||
* | Make example more readable | Andrew M. Kuchling | 2003-12-16 | 1 | -3/+6 |
| | |||||
* | Speedup set.update by using the override mode for PyDict_Merge(). | Raymond Hettinger | 2003-12-15 | 1 | -1/+1 |
| | |||||
* | Add rsplit method for UserString, too. | Hye-Shik Chang | 2003-12-15 | 1 | -0/+2 |
| | | | | (Spotted by Raymond Hettinger) | ||||
* | Fix typo and improve wording a bit. | Raymond Hettinger | 2003-12-15 | 1 | -4/+4 |
| | |||||
* | Add an entry for addition of {str,unicode}.rsplit. | Hye-Shik Chang | 2003-12-15 | 1 | -0/+4 |
| | |||||
* | Add rsplit method for str and unicode builtin types. | Hye-Shik Chang | 2003-12-15 | 7 | -1/+402 |
| | | | | | SF feature request #801847. Original patch is written by Sean Reifschneider. | ||||
* | Remove __del__ methods to avoid creating uncollectable cyclic trash. | Jeremy Hylton | 2003-12-15 | 1 | -13/+4 |
| | | | | | | Keep close() methods for backwards compatibility. Does any call close() explicitly? | ||||
* | missing word (should backport - is release23-maint still locked?) | Skip Montanaro | 2003-12-15 | 1 | -1/+1 |
| | |||||
* | Improve algorithm for set.difference when the input is not a set. | Raymond Hettinger | 2003-12-15 | 1 | -43/+43 |
| | |||||
* | Make the module docstring a raw string, so that the backslash in | Walter Dörwald | 2003-12-15 | 1 | -1/+1 |
| | | | | | "read until end of line ('\n') or EOF" will be treated literally. Fixes SF bug #860155. | ||||
* | Remove a "temporary" piece of code that was probably unneeded since | Guido van Rossum | 2003-12-15 | 1 | -7/+0 |
| | | | | mid 1990. Remove an untrue XXX comment. | ||||
* | SF #859811, typo in docs | Neal Norwitz | 2003-12-14 | 4 | -5/+5 |
| | |||||
* | SF #859810, typo in doc | Neal Norwitz | 2003-12-14 | 1 | -1/+1 |
| | |||||
* | Add news item about processor support in urllib2. | Jeremy Hylton | 2003-12-14 | 1 | -0/+4 |
| | |||||
* | SF patch 852995: add processors feature to urllib2 | Jeremy Hylton | 2003-12-14 | 3 | -86/+783 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | SF #736962, port test_future to unittest, add a bit more coverage, by Walter ↵ | Neal Norwitz | 2003-12-13 | 11 | -47/+101 |
| | | | | Dörwald | ||||
* | Add a versionadded tag for traceback.format_exc() | Neal Norwitz | 2003-12-13 | 1 | -0/+1 |
| | |||||
* | Make private/local functions static | Neal Norwitz | 2003-12-13 | 1 | -6/+6 |
| | |||||
* | 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(). | ||||
* | Cleaning up recursive pieces left in the reorganization. | Gustavo Niemeyer | 2003-12-13 | 1 | -119/+16 |
| | |||||
* | Note that \var{ppos} values are not consecutive and should not be altered. | Raymond Hettinger | 2003-12-13 | 1 | -1/+3 |
| | |||||
* | * Refactor set.__contains__() | Raymond Hettinger | 2003-12-13 | 1 | -21/+10 |
| | | | | | * Use Py_RETURN_NONE everywhere. * Fix-up the firstpass check for the tp_print slot. | ||||
* | Refactor set.discard() and set.remove(). | Raymond Hettinger | 2003-12-13 | 1 | -31/+22 |
| | |||||
* | Improve argument checking speed. | Raymond Hettinger | 2003-12-13 | 1 | -17/+44 |
| | |||||
* | Use dictionary specific looping idiom where possible. | Raymond Hettinger | 2003-12-13 | 1 | -114/+40 |
| | | | | Simplifies and speeds-up the code. | ||||
* | Simplify previous checkin -- a new function was not needed. | Raymond Hettinger | 2003-12-13 | 1 | -26/+1 |
| | |||||
* | Use PyDict_Contains() instead of PySequence_Contains(). | Raymond Hettinger | 2003-12-13 | 1 | -2/+2 |
| | |||||
* | * Added a new method flag, METH_COEXIST. | Raymond Hettinger | 2003-12-13 | 8 | -3/+97 |
| | | | | | * Used the flag to optimize set.__contains__(), dict.__contains__(), dict.__getitem__(), and list.__getitem__(). | ||||
* | Expand the groupby() example to: | Raymond Hettinger | 2003-12-12 | 1 | -0/+15 |
| | | | | | | | * show that it is typically used with sorted data, * highlight commonalities with SQL's groupby and Unix's uniq, * demonstrate valid uses for the default identity function, * add some excitement by suggesting the range of possibilities. | ||||
* | fix typo and join two paragraphs | Fred Drake | 2003-12-11 | 1 | -2/+1 |
| | |||||
* | Add tests to test_weakref.py to bring code coverage in _weakref.c up to 100%. | Walter Dörwald | 2003-12-11 | 3 | -27/+54 |
| | | | | | | | | Port test_md5.py to PyUnit. (Written by Neal Norwitz; from SF patch 736962) (Backport candidate) |