summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* provide simple recovery/escape from apparent redirect recursion. If theSkip Montanaro2001-02-151-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 Rossum2001-02-151-1/+1
| | | | SF patch #103517 by mfx.
* Patch #103748 from Toby Dickenson: fix typo in test_zlib that turns oneAndrew M. Kuchling2001-02-141-1/+1
| | | | test case into a no-op because ''.join('hello world') == 'hello world'
* Test section name using some strange characters, including a backslashFred Drake2001-02-141-2/+7
| | | | (SF bug #132288).
* Be much more permissive in what we accept in section names; there has beenFred Drake2001-02-141-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 aTim Peters2001-02-141-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 Peters2001-02-142-6/+6
|
* Teach doctest about newer "(most recent call last)" traceback spelling.Tim Peters2001-02-132-4/+5
|
* Added a comment explaining why this file must really have #!Guido van Rossum2001-02-131-0/+9
| | | | /usr/local/bin/python and not #! /usr/bin/env python.
* The bulk of the credit for these changes goes to Bastian KleineidamSkip Montanaro2001-02-121-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 thatFred Drake2001-02-122-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 useFred Drake2001-02-121-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 importThomas Heller2001-02-121-1/+2
| | | | mechanism to support self-modifying modules.
* test_pty started failing on Windows, but if and only if test___all__ wasTim Peters2001-02-121-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 modulesSkip Montanaro2001-02-1212-0/+35
|
* Patch by Finn Bock to make test_unicode.py work for Jython.Marc-André Lemburg2001-02-101-5/+10
|
* Moved SequenceMatcher from ndiff into new std library module difflib.py.Tim Peters2001-02-103-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 Peters2001-02-102-0/+301
|
* Bump __version__ tuple.Tim Peters2001-02-101-1/+1
|
* String method cleanup.Eric S. Raymond2001-02-105-13/+7
|
* String method cleanup.Eric S. Raymond2001-02-101-3/+1
|
* In O_writelines: Replace use of string.joinfields with "".join.Jeremy Hylton2001-02-092-1/+9
|
* SF bug #131560: pdb imports 'repr', causing name collisionTim Peters2001-02-091-2/+2
|
* update to use new symtable interfaceJeremy Hylton2001-02-091-3/+4
|
* update test cases for recent compiler changes: exec/import * in nestedJeremy Hylton2001-02-094-23/+65
| | | | functinos and cell vars with */** parameters
* Nuke accurate but confusing and unhelpful comments about split vs splitfields.Tim Peters2001-02-092-2/+0
|
* Whitespace normalization.Tim Peters2001-02-094-13/+11
|
* Whitespace normalization.Tim Peters2001-02-098-22/+21
|
* joinfields -> join.Eric S. Raymond2001-02-091-1/+1
|
* String method conversion.Eric S. Raymond2001-02-093-8/+4
|
* String method conversion.Eric S. Raymond2001-02-092-25/+23
|
* Fixed syntax error.Sjoerd Mullender2001-02-091-1/+1
|
* splitfields -> splitEric S. Raymond2001-02-091-1/+1
|
* Remove silly EMPTYSTRING global. Saves a global lookup.Marc-André Lemburg2001-02-091-8/+6
|
* String method conversion.Eric S. Raymond2001-02-095-18/+17
|
* Eliminate use of string.whitespace and a string import with it.Eric S. Raymond2001-02-091-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. Raymond2001-02-094-10/+6
|
* String method conversion.Eric S. Raymond2001-02-096-7/+5
| | | | (This one was trivial -- no actual string. references in it!)
* String method conversion.Eric S. Raymond2001-02-0919-79/+58
|
* String method conversion.Eric S. Raymond2001-02-091-1/+1
| | | | (This one was trivial -- no actual string. references in it!)
* String method conversion.Eric S. Raymond2001-02-091-1/+1
| | | | (This one was trivial -- no actual string. references in it!)
* String method conversion.Eric S. Raymond2001-02-096-38/+35
|
* String method conversion.Eric S. Raymond2001-02-092-42/+42
|
* String method conversion.Eric S. Raymond2001-02-091-2/+1
|
* Test with an actual mbox caught a trivial error.Eric S. Raymond2001-02-091-1/+1
|
* Correction after translation test.Eric S. Raymond2001-02-091-1/+1
|
* String method conversion.Eric S. Raymond2001-02-091-13/+12
|
* String method conversion.Eric S. Raymond2001-02-092-8/+6
|
* Aha. We can remove he string import after all by using ValueError.Eric S. Raymond2001-02-091-2/+1
|
* Use ValueError instead of string.atoi.error, since we've switched toEric S. Raymond2001-02-091-1/+1
| | | | int().