summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Apply Greg Kochanski's fix for open/265.Eric S. Raymond2000-07-131-4/+1
|
* Fix bug open/243 reported by Dimitri PapadopoulosEric S. Raymond2000-07-131-1/+2
|
* forgot to change copy.copy(m) to m[:]Skip Montanaro2000-07-131-2/+2
|
* fixed semantics of commonprefix to work by path elements instead ofSkip Montanaro2000-07-124-12/+53
| | | | characters.
* apply patch #100868 from Moshe Zadka:Greg Stein2000-07-121-5/+10
| | | | refactor the copying of file data. new: shutil.copyfileobj(fsrc, fdst)
* Remove extra argument to method callAndrew M. Kuchling2000-07-121-1/+1
|
* new test for posixpath moduleSkip Montanaro2000-07-121-0/+2
|
* new test file for posixpath moduleSkip Montanaro2000-07-121-0/+42
|
* small updates to string_join:Jeremy Hylton2000-07-111-0/+3
| | | | | | | use PyString_AS_STRING macro on local string object when resizing string, make sure resized string will always be big enough split string containing error message across two lines add test to string_tests that causes resizing
* Create two new exceptions: IndentationError and TabError. These areFred Drake2000-07-112-0/+12
| | | | | | | used for indentation related errors. This patch includes Ping's improvements for indentation-related error messages. Closes SourceForge patches #100734 and #100856.
* fix bug #42 reported by Andrew DalkeJeremy Hylton2000-07-115-27/+2
| | | | | | | | | | | | | | The Compare close contains a close method that checks to see if there is any unconsumed data in the Compare instance; i.e. if the canonical output file contains more data than was produced by the current test run. This method was never called, allowing differences to go undetected. Fix is to call close after the test is run (after __import__) output/test_long and output/test_popen2 needed trivial changes output/test_select contained lots of text, but test_select.py produced no output
* Bug fix: ? and ! were not full aliases for `help' and `shell' as implied inEric S. Raymond2000-07-111-6/+6
| | | | the documentation; the cases `? foo' and `! foo' failed.
* fixed inconsistent use of tab and spacesPeter Schneider-Kamp2000-07-111-3/+3
|
* Add test of resize() method of mmap objectsAndrew M. Kuchling2000-07-112-0/+13
|
* Docstring changes.Andrew M. Kuchling2000-07-112-6/+2
|
* add more tests of string.join variants to run_method_testsJeremy Hylton2000-07-111-8/+11
|
* -- removed get_default compatibility kludgeFredrik Lundh2000-07-102-3/+4
| | | | -- added a few extra comments to locale.py
* Give ConfigParser the capability to set as well as read options, and to writeEric S. Raymond2000-07-101-0/+36
| | | | | | | | | | | | | a representation of the configuration state in .ini format that can be read back in by a future read() call. Thus this class is now a back end for .ini editors as well as parsers. This patch is complete and tested, but exposes a bug in the ConfigParser implementation which I have not yet fixed. Because case information is discarded during parsing, the output of write() has its case smashed. I wrote this for a SourceForge interface script called forgetool. Documentation for the new entry points included.
* factor out test definitions to string_tests moduleJeremy Hylton2000-07-104-353/+202
| | | | test_string and test_userstring run same tests for string methods
* add isalpha and isalnum methodsJeremy Hylton2000-07-101-0/+2
|
* Added the line 'Testing UTF-16 code point order comparisons... done."Guido van Rossum2000-07-101-0/+1
| | | | to match addition to test_unicode.py.
* remove prints of file objects from _testJeremy Hylton2000-07-101-2/+0
|
* expect message "no regression test case for method 'encode'Jeremy Hylton2000-07-101-0/+3
|
* Patch from Joe Eaton <jeaton@hostway.net> (SF#100741) to fix following problem:Andrew M. Kuchling2000-07-101-1/+0
| | | | | | | | There is a silly bug in the fall-back dumbdbm.py database package in the Python 1.5.2 standard distro. This bug causes any changes to an existing item to generate a new key, even when the key already exists. After many updates, the .dir file used by dumbdbm grows to a huge size, and can cause filesystem problems.
* Better error handling of bad entity references. Before when an & inSjoerd Mullender2000-07-101-16/+25
| | | | | | an attribute value was not escaped, you could get two syntax errors: one about a missing semicolon and one about an unknown entity. Now you get only one about a bogus ampersand.
* - changed the nt.popen2 return values back toFredrik Lundh2000-07-091-10/+25
| | | | | | | | (write, read, ...), based on feedback from GvR. - added tuple-swapping code to popen2.py - fixed some runaway indentation in posixmodule.c
* - repaired locale.py for non-windows platforms. the try/exceptFredrik Lundh2000-07-091-2/+5
| | | | | checked for the wrong exception. my fault. sorry. (first reported by Alex Coventry)
* Use TQSQ (triple quoted single quote) module docstring for betterBarry Warsaw2000-07-091-2/+2
| | | | font-locking. This complets the merge with Mailman's version.
* - added popen.popen2/popen3/popen4 support forFredrik Lundh2000-07-091-15/+39
| | | | | | | | | | | | windows. - added optional mode argument to popen2/popen3 for unix; if the second argument is an integer, it's assumed to be the buffer size. - changed nt.popen2/popen3/popen4 return values to match the popen2 module (stdout first, not stdin).
* - merged setlocale and set_locale. the internal setlocaleFredrik Lundh2000-07-091-92/+159
| | | | | | | | | | | | | | | | | | function is overridden by a python version which accepts *either* a string (old behaviour) or a locale tuple. - renamed a few methods (for consistency): get_locale => getlocale get_default_locale => getdefaultlocale set_to_default => resetlocale (!) - the _locale implementation module can now implement an optional _getdefaultlocale function. if that function isn't available, a POSIX-based approach is used (checking LANG and other environment variables, as usual). (patch #100765)
* New module to control Web browsers; see the documentation forFred Drake2000-07-091-0/+229
| | | | more information.
* Make tabnanny happy.Fred Drake2000-07-092-254/+254
| | | | mailbox.py: Convert to 4-space indents.
* delete bogus fileGuido van Rossum2000-07-071-246/+0
|
* Deleted bogus file.Guido van Rossum2000-07-071-946/+0
|
* fix inconsistent use of tabs and spacesJeremy Hylton2000-07-071-8/+11
| | | | convert semicolons to newlines
* fix inconsistent use of tabs and spacesJeremy Hylton2000-07-072-20/+20
|
* fix inconsistent use of tabs and spacesJeremy Hylton2000-07-074-24/+24
|
* Tests for new surrogate support in the UTF-8 codec. By Bill Tutt.Marc-André Lemburg2000-07-071-0/+72
|
* Tests for new instance support in unicode().Marc-André Lemburg2000-07-071-0/+15
|
* Change whitespace in two places to silence tabnanny.Guido van Rossum2000-07-061-4/+4
| | | | Also fix spelling tupel -> tuple.
* fixed indentation in several placesSkip Montanaro2000-07-061-19/+19
|
* fix indentation in one docstringSkip Montanaro2000-07-061-1/+1
|
* fix indentation in three docstringsSkip Montanaro2000-07-061-3/+3
|
* maintenance release:Fredrik Lundh2000-07-051-1/+3
| | | | | | | | - reorganized some code to get rid of -Wall and -W4 warnings - fixed default argument handling for sub/subn/split methods (reported by Peter Schneider-Kamp).
* Added tests for the new .isalpha() and .isalnum() methods.Marc-André Lemburg2000-07-052-0/+31
|
* Fixed so the ZIP file (which is bundled into an executable) goes in theGreg Ward2000-07-051-4/+13
| | | | | temporary directory ('bdist_base'). Added --dist-dir option to control where the executable is put.
* Added --dist-dir option to control where output archive(s) go.Greg Ward2000-07-051-1/+7
|
* Added the --dist-dir option that the "bdist_*" will use to control whereGreg Ward2000-07-051-0/+7
| | | | they place their output files.
* Added the --dist-dir option to control where the archive(s) are put;Greg Ward2000-07-051-1/+11
| | | | defaults to 'dist' (ie. no longer in the distribution root).
* 2 fixes plus one extension:Sjoerd Mullender2000-07-041-6/+6
| | | | | | | | | | - Actually count the linefeeds in a the CDATA content. - Don't call the endtag handler for an unmatched endtag (this makes the base class simpler since it doesn't have to deal with unopened endtags). - If the __init__ method is called with keyword argument translate_attribute_references=0, don't attempt to translate character and entity references in attribute values.