summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Only apply case-insensitivity test on appropriate platforms.' test_filecmp.pyRaymond Hettinger2003-09-021-2/+6
|
* SF bug #453515: filecmp.dircmp case sensitivity bugRaymond Hettinger2003-09-022-8/+12
|
* SF patch #798255: Document httplib.HTTPResponse.read "amt" argumentRaymond Hettinger2003-09-021-2/+2
| | | | (Contributed by Jeff Epler.)
* SF 798269: bug fix for doctest (sf bug id: 798254Raymond Hettinger2003-09-021-0/+1
| | | | (Contributed by Alexander Belopolsky.)
* SF 798269: bug fix for doctest (sf bug id: 798254Raymond Hettinger2003-09-021-2/+3
| | | | | | | | | | | (Contributed by Alexander Belopolsky.) Doctest would crash when encountering unbound methods: class A: def f(self): pass class C(A): g = A.f
* SF patch #736962: Port tests to unittest (Part 2)Raymond Hettinger2003-09-021-12/+90
| | | | | | | (Contributed by Walter Dörwald.) * Convert test_slice.py to unittest format * Expand the test coverage.
* SF patch #790443: add SafeConfigParser to __all__Raymond Hettinger2003-09-011-1/+1
| | | | (Contributed by George Yoshida.)
* Minor typoRaymond Hettinger2003-09-011-1/+1
|
* SF patch #791153: inconsistency with implementation(logging)Raymond Hettinger2003-09-011-1/+1
| | | | (Contributed by George Yoshida.)
* SF patch #798534: Windows os.popen needlessly gets a reference to tuple ()Raymond Hettinger2003-09-011-0/+1
| | | | | | (Contributed by Andrew Gaul.) Fixes a minor leak.
* SF patch #798534: Windows os.popen needlessly gets a reference to tuple ()Raymond Hettinger2003-09-011-3/+1
| | | | | | (Contributed by Andrew Gaul.) Fixes a minor leak.
* SF patch #798467: Update docstring of has_key for bool changesRaymond Hettinger2003-09-011-0/+1
| | | | (Contributed by George Yoshida.)
* SF patch #798467: Update docstring of has_key for bool changesRaymond Hettinger2003-09-012-2/+2
| | | | (Contributed by George Yoshida.)
* SF bug #797853: Small problems with the csv module's documentationRaymond Hettinger2003-08-311-6/+6
|
* SF bug #732120:An extended definition of "non-overlapping" would save time.Raymond Hettinger2003-08-311-2/+3
| | | | | Clarified the meaning of non-overlapping in patterns with zero length matches.
* SF patch #797157: Bug 794658: os.chmod docs, stat constantsRaymond Hettinger2003-08-311-1/+2
| | | | | | (Contributed by Christos Georgiou.) Reference the symbol definitions in the stat module.
* SF bug #785222: zlib monotonic testRaymond Hettinger2003-08-311-11/+0
| | | | | | For smaller datasets, it is not always true the increasing the compression level always results in better compression. Removed the test which made this invalid assumption.
* Fix long option markup.Raymond Hettinger2003-08-311-7/+7
|
* Remove 'e.g.' from error messageRaymond Hettinger2003-08-301-3/+3
|
* SF patch #797180: Bug 792656: slicing explainedRaymond Hettinger2003-08-301-2/+3
|
* SF patch #797868: Tutorial, sec. 5.1.4 could contain an extra exampleRaymond Hettinger2003-08-301-2/+10
| | | | | | (Revised from the original patch contributed by Michal Pasternak.) Also, make a couple minor fixups elsewhere.
* SF patch #736962: Port tests to unittestRaymond Hettinger2003-08-305-33/+145
| | | | | | | | (Contributed by Walter Dörwald). * Convert three test modules to unittest format. * Expanded coverage in test_structseq.py. * Raymond added a new test in test_sets.py
* SF bug 797650: Infinite loop in textwrap.pyRaymond Hettinger2003-08-302-1/+11
| | | | | | When the indents were set to longer than the width and long word breaking was enabled, an infinite loop would result because the inner loop did not assure that at least one character was stripped off on every pass.
* Eliminate unnecessary eval() in testsRaymond Hettinger2003-08-301-19/+18
|
* For safety, replace a tuple entry before decreffing it.Raymond Hettinger2003-08-301-1/+3
|
* SF bug #793826: using itertools.izip to mutate tuplesRaymond Hettinger2003-08-292-3/+36
| | | | Avoid Armin Rigo's dastardly exercise in re-entrancy.
* Rework previous fix slightly; the &0x20 test seems useless, and the ↵Andrew M. Kuchling2003-08-291-4/+2
| | | | isprint() check mustn't prevent the meta-bit check at the end
* Add tests for meta- bit setAndrew M. Kuchling2003-08-291-1/+4
|
* [Bug #790356] unctrl() doesn't work for full printable charset. Fix by Dave ↵Andrew M. Kuchling2003-08-291-0/+2
| | | | Cinege.
* Add simple unit test for ascii.unctrl() functionAndrew M. Kuchling2003-08-291-0/+13
|
* [Bug #776542] open_https() generates a bad Authorization header because it ↵Andrew M. Kuchling2003-08-291-1/+1
| | | | calls .putheader() wrongly. Reported by Steffen Ries.
* [Bug #780231] One of the changes described in the 2.3 "What's New" documentAndrew M. Kuchling2003-08-292-27/+27
| | | | | | actually occurred in 2.2. Move the description to whatsnew22.tex. [Bugfix candidate -- I'll backport to 2.3 (another 2.2 bugfix seems unlikely)
* fix minor syntactic faux pasFred Drake2003-08-291-2/+2
|
* Make sure parentheses are escaped when used in the format string.Brett Cannon2003-08-292-1/+10
| | | | Closes bug #796149 . Will be backported.
* Support DBEnv.set_shm_key() to allow multi-threaded multi-processGregory P. Smith2003-08-282-0/+18
| | | | database environments to use shared memory on systems supporting it.
* Fix for SF bug [ 784075 ] Fatal Python error: unknown scopeJeremy Hylton2003-08-281-4/+12
| | | | | Make sure the inner function is not compiled when there is a syntax error in the default arguments.
* Fix SF bug [ 788011 ] compiler.compileFile fails on csv.pyJeremy Hylton2003-08-281-1/+6
| | | | Bug fix candidate.
* Fix typo in docstring: The switch is '-x', not '-s'.Thomas Heller2003-08-271-1/+1
| | | | Will backport to 2.3 myself.
* remove extra word occurance; reported to webmasterFred Drake2003-08-271-1/+1
|
* Remove a typo. (Or is this some markup I don't understand? ;-)Thomas Heller2003-08-271-1/+1
|
* SF bug #795506: Wrong handling of string format code for float values.Raymond Hettinger2003-08-274-0/+10
| | | | | | Adding missing support for '%F'. Will backport to 2.3.1.
* test_largefile can leave its temp file open if one of many tests fail. OnJason Tishler2003-08-261-73/+81
| | | | | | | | | | | | | | | | | | | | platforms (e.g., Cygwin) that are "particular" about open files, this will cause other regression tests that use the same temp file to fail: $ ./python.exe -E -tt Lib/test/regrtest.py -l test_largefile test_mmap test_mutants test_largefile test test_largefile failed -- got -1794967295L, but expected 2500000001L test_mmap test test_mmap crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test' test_mutants test test_mutants crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test' This patch solves the problem by adding missing "try/finally" blocks. Note that the "large" size of this patch is due to many white space changes -- otherwise, the patch is small. I tested this patch under Red Hat Linux 8.0 too.
* Make the derived tools amendable to cut and paste.Raymond Hettinger2003-08-251-54/+54
|
* Fix doubled word typos.Raymond Hettinger2003-08-251-1/+1
|
* Added doubled word warnings.Raymond Hettinger2003-08-253-1/+6
|
* Fix double word typos.Raymond Hettinger2003-08-2510-10/+10
|
* SF bug #793702: Section 13.1 HTMLParser documentation errorRaymond Hettinger2003-08-251-1/+1
| | | | The -- is special to TeX and was printing as just -.
* Fix typo.Raymond Hettinger2003-08-231-1/+1
| | | | Thou shalt not count to two unless proceeding to the number three.
* Fix typo.Raymond Hettinger2003-08-231-1/+1
|
* Fix a loooong-standing brainfart: I got the site-packages path forGreg Ward2003-08-231-1/+1
| | | | Python 1.5.2 wrong in the section on config files.