Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | provide simple recovery/escape from apparent redirect recursion. If the | Skip Montanaro | 2001-02-15 | 1 | -1/+17 |
| | | | | | | number of entries into http_error_302 exceeds the value set for the maxtries attribute (which defaults to 10), the recursion is exited by calling the http_error_500 method (or if that is not defined, http_error_default). | ||||
* | Provide a default for the blocksize arg of storbinary(). | Guido van Rossum | 2001-02-15 | 1 | -1/+1 |
| | | | | SF patch #103517 by mfx. | ||||
* | Patch #103748 from Toby Dickenson: fix typo in test_zlib that turns one | Andrew M. Kuchling | 2001-02-14 | 1 | -1/+1 |
| | | | | test case into a no-op because ''.join('hello world') == 'hello world' | ||||
* | Test section name using some strange characters, including a backslash | Fred Drake | 2001-02-14 | 1 | -2/+7 |
| | | | | (SF bug #132288). | ||||
* | Be much more permissive in what we accept in section names; there has been | Fred Drake | 2001-02-14 | 1 | -1/+1 |
| | | | | | | | | at least one addition to the set of accepted characters for every release since this module was first added; this should take care of the problem in a more substantial way. This closes SF bug #132288. | ||||
* | Miranda newlines: if anything at all was written to stdout, supply a | Tim Peters | 2001-02-14 | 1 | -1/+7 |
| | | | | | | | newline at the end if there isn't one already. Expected output has no way to indicate that a trailing newline was not expected, and in the interpreter shell *Python* supplies the trailing newline before printing the next prompt. | ||||
* | Change doctest exception example to one whose detail hasn't changed since 1.5.2. | Tim Peters | 2001-02-14 | 2 | -6/+6 |
| | |||||
* | Teach doctest about newer "(most recent call last)" traceback spelling. | Tim Peters | 2001-02-13 | 2 | -4/+5 |
| | |||||
* | Added a comment explaining why this file must really have #! | Guido van Rossum | 2001-02-13 | 1 | -0/+9 |
| | | | | /usr/local/bin/python and not #! /usr/bin/env python. | ||||
* | The bulk of the credit for these changes goes to Bastian Kleineidam | Skip Montanaro | 2001-02-12 | 1 | -34/+89 |
| | | | | | | | * restores urllib as the file fetcher (closes bug #132000) * allows checking URLs with empty paths (closes patches #103511 and 103721) * properly handle user agents with versions (e.g., SpamMeister/1.5) * added several more tests | ||||
* | Added options that use square brackets in their names; this ensures that | Fred Drake | 2001-02-12 | 2 | -89/+50 |
| | | | | | | | | GNOME-style internationalized options can be parsed using ConfigParser (SF bug #131635). Converted the tests to use test_support.verify() instead of output comparison to work. | ||||
* | Allow square brackets in the option names; this makes it possible to use | Fred Drake | 2001-02-12 | 1 | -1/+1 |
| | | | | | | | ConfigParser with GNOME-ish config files that use the internationalization conventions found in GNOME. This closes SF bug #131635. | ||||
* | This change makes imputil more closely emulate the standard import | Thomas Heller | 2001-02-12 | 1 | -1/+2 |
| | | | | mechanism to support self-modifying modules. | ||||
* | test_pty started failing on Windows, but if and only if test___all__ was | Tim Peters | 2001-02-12 | 1 | -2/+16 |
| | | | | | | | | | | | | run first. Indirectly due to Skip adding check_all("pty") to test___all__: that caused the expected ImportError due to pty.py trying to import the non-existent FCNTL to get handled by test___all__, leaving a partial module object for pty in sys.modules, which caused the later import of pty via test_pty to succeed. Then test_tpy died with an AttributeError, due to trying to access attributes of pty that didn't exist. regrtest viewed that as a failure rather than the appropriate "test skipped". Fixed by deleting partial module objects in test___all__ when test___all__ handles an ImportError. | ||||
* | __all__ for several more modules | Skip Montanaro | 2001-02-12 | 12 | -0/+35 |
| | |||||
* | Patch by Finn Bock to make test_unicode.py work for Jython. | Marc-André Lemburg | 2001-02-10 | 1 | -5/+10 |
| | |||||
* | Moved SequenceMatcher from ndiff into new std library module difflib.py. | Tim Peters | 2001-02-10 | 3 | -0/+1063 |
| | | | | | | | | | Guido told me to do this <wink>. Greatly expanded docstrings, and fleshed out with examples. New std test. Added new get_close_matches() function for ESR. Needs docs, but LaTeXification of the module docstring is all it needs. \CVS: ---------------------------------------------------------------------- | ||||
* | Add std test for doctest. | Tim Peters | 2001-02-10 | 2 | -0/+301 |
| | |||||
* | Bump __version__ tuple. | Tim Peters | 2001-02-10 | 1 | -1/+1 |
| | |||||
* | String method cleanup. | Eric S. Raymond | 2001-02-10 | 5 | -13/+7 |
| | |||||
* | String method cleanup. | Eric S. Raymond | 2001-02-10 | 1 | -3/+1 |
| | |||||
* | In O_writelines: Replace use of string.joinfields with "".join. | Jeremy Hylton | 2001-02-09 | 2 | -1/+9 |
| | |||||
* | SF bug #131560: pdb imports 'repr', causing name collision | Tim Peters | 2001-02-09 | 1 | -2/+2 |
| | |||||
* | update to use new symtable interface | Jeremy Hylton | 2001-02-09 | 1 | -3/+4 |
| | |||||
* | update test cases for recent compiler changes: exec/import * in nested | Jeremy Hylton | 2001-02-09 | 4 | -23/+65 |
| | | | | functinos and cell vars with */** parameters | ||||
* | Nuke accurate but confusing and unhelpful comments about split vs splitfields. | Tim Peters | 2001-02-09 | 2 | -2/+0 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-02-09 | 4 | -13/+11 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-02-09 | 8 | -22/+21 |
| | |||||
* | joinfields -> join. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 3 | -8/+4 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 2 | -25/+23 |
| | |||||
* | Fixed syntax error. | Sjoerd Mullender | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | splitfields -> split | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | Remove silly EMPTYSTRING global. Saves a global lookup. | Marc-André Lemburg | 2001-02-09 | 1 | -8/+6 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 5 | -18/+17 |
| | |||||
* | Eliminate use of string.whitespace and a string import with it. | Eric S. Raymond | 2001-02-09 | 1 | -2/+1 |
| | | | | | | Some of the characters (form feed, vertical tab) are not legal continuation characters anyway, so this was wrong as well as annoying. | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 4 | -10/+6 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 6 | -7/+5 |
| | | | | (This one was trivial -- no actual string. references in it!) | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 19 | -79/+58 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | | | | (This one was trivial -- no actual string. references in it!) | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | | | | (This one was trivial -- no actual string. references in it!) | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 6 | -38/+35 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 2 | -42/+42 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -2/+1 |
| | |||||
* | Test with an actual mbox caught a trivial error. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | Correction after translation test. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -13/+12 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 2 | -8/+6 |
| | |||||
* | Aha. We can remove he string import after all by using ValueError. | Eric S. Raymond | 2001-02-09 | 1 | -2/+1 |
| | |||||
* | Use ValueError instead of string.atoi.error, since we've switched to | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | | | | int(). |