summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* -- SRE 0.9.8: now that the bug is fixed, I might as well enableFredrik Lundh2000-08-011-4/+2
| | | | the test again...
* -- SRE 0.9.8: updated test scriptsFredrik Lundh2000-08-013-21/+6
|
* Added Python function to emulate the ncurses has_key() function.Andrew M. Kuchling2000-08-012-0/+197
|
* Add magic to replace the xml package with _xmlplus at import time.Fred Drake2000-08-011-1/+11
| | | | Update docstring to reflect change of name for the parsers subpackage.
* Rename the "parser" package to "parsers" to be compatible with the PyXMLFred Drake2000-07-311-0/+0
| | | | project.
* added count, extend, index, pop and remove to arraymodulePeter Schneider-Kamp2000-07-311-0/+40
|
* Fix inconsistent use of tab/space in indentation.Thomas Wouters2000-07-301-8/+8
|
* Test that after resizing the mmap'd file, we can't seek beyond the new size.Mark Hammond2000-07-301-1/+8
|
* Catch syntax errors from processing template lines and turn them intoGreg Ward2000-07-301-2/+9
| | | | | mere warnings. Call 'findall()' on our FileList object before we start using it seriously.
* Added list-like methods: 'append()', 'extend()', 'sort()'.Greg Ward2000-07-301-14/+46
| | | | | | | | | | | Added 'remove_duplicates()'. Simplified constructor: no longer take 'files' or 'allfiles' as args, and no longer have 'dir' attribute at all. Added 'set_allfiles()' and 'findall()' so the client does have a way to set the list of all files. Changed 'include_pattern()' to use the 'findall()' method instead of the external function. (Of course, the method is just a trivial wrapper around the function.)
* Replaced 'self.files' with 'self.filelist': now we carry around a FileListGreg Ward2000-07-301-54/+38
| | | | | instance instead of a list of filenames. Simplifies the "sdist" command only a bit, but should allow greater simplification of FileList.
* The other half of Rene Liebscher's patch to add the Template class,Greg Ward2000-07-301-305/+15
| | | | | which I renamed to FileList: remove all the file-list-generation code from the sdist command and adapt it to use the new FileList class instead.
* Typo fix.Greg Ward2000-07-301-1/+1
|
* Added DistutilsTemplateError.Greg Ward2000-07-301-0/+3
|
* Ditched the unused 'recursive_exclude_pattern()' method.Greg Ward2000-07-301-24/+0
|
* Renamed 'select_pattern()' to 'include_pattern()'.Greg Ward2000-07-301-15/+16
| | | | Other cosmetic/doc/comment tweaks.
* Renamed 'process_line()' to 'process_template_line()', and factored outGreg Ward2000-07-301-69/+63
| | | | '_parse_template_line()'.
* Added class docstring and ditched inappropriate class attrs.Greg Ward2000-07-301-123/+126
| | | | Indentation/whitspace fixes.
* Provides the FileList class for building a list of filenames by exploringGreg Ward2000-07-301-0/+362
| | | | | | | | the filesystem, and filtering the list by applying various patterns. Initial revision (almost) as supplied in a patch by Rene Liebscher; I just renamed the class from Template to FileList, and the module accordingly.
* Exercise .readline() and .readlines(). More data is written to theAndrew M. Kuchling2000-07-291-4/+28
| | | | test file, too, so the methods have more work to do.
* SF patch #100740: Add optional size arguments to .readline() andAndrew M. Kuchling2000-07-291-19/+37
| | | | | | .readlines() methods. Inspired by a patch from Wolfgang Grafen, though this version of the patch was completely rewritten from his code.
* Added support to recognize Python's internal "dumbdbm" database.Moshe Zadka2000-07-291-0/+12
| | | | This closes bug 200 on Jitterbug.
* Using shutil's function to copy data between file objects insteadMoshe Zadka2000-07-291-6/+2
| | | | | | | | of rolling our own. Note: This is my first sourceforge checkin. If you see anything funny about this patch, please let me know.
* Was quite broken and incomplete. Now passes the test suite, but is still ↵Mark Hammond2000-07-281-5/+14
| | | | incomplete.
* Fix a type in the docstrings, and make the module Unicode aware.Mark Hammond2000-07-281-4/+8
|
* Remove erroneous empty trailing line. (cause test_winreg.py failure)Trent Mick2000-07-271-1/+0
|
* -- changed test to work on platforms which have os.popenFredrik Lundh2000-07-271-2/+8
| | | | but no os.fork
* Bump version to 0.9.1pre.Greg Ward2000-07-271-1/+1
|
* Fixed a grab-bag of typos spotted by Rob Hooft.Greg Ward2000-07-279-11/+11
|
* Remove unused 'search_dir()' method.Greg Ward2000-07-271-21/+1
| | | | Comment tweak.
* Fix to call 'library_filename()' instead of the non-existentGreg Ward2000-07-271-3/+5
| | | | 'shared_library_filename()'.
* Typo fix from David Ascher.Greg Ward2000-07-271-1/+1
|
* Patch #100873 - Use registry to find proxies for urllib on Win32Mark Hammond2000-07-261-13/+61
| | | | Note that this patch looks worse than it is - an existing function (getproxies() for all platforms other than Win/Mac) has been moved, renamed and indentation changed, but the body of that function is identical. Windows now allows the environment variables to override the registry.
* added test case for fixed duplicate arguments bug in Python/compile.cPeter Schneider-Kamp2000-07-252-0/+17
|
* makedirs(), removedirs(): If the tail of the path is empty, do a secondFred Drake2000-07-251-0/+4
| | | | | | split so the logic does not fail in corner cases. This closes bug #407.
* a couple of nits from Patch #100933Jeremy Hylton2000-07-251-2/+2
|
* Made an error message slightly more useful if select() returns something goofyAndrew M. Kuchling2000-07-251-1/+1
|
* -- updated to include known problems in SRE 0.9.6Fredrik Lundh2000-07-241-414/+11
| | | | (cf. test/output/test_sre)
* Restore TestSkipped exception; appears to have disappeared in last checkin.Fred Drake2000-07-241-3/+20
| | | | | Make both TextFailed and TestSkipped subclasses of Error, which derives from Exception. Docstrings have been added for the exceptions and module.
* -- SRE 0.9.6 sync. this includes:Fredrik Lundh2000-07-235-88/+118
| | | | | | | | | | | + added "regs" attribute + fixed "pos" and "endpos" attributes + reset "lastindex" and "lastgroup" in scanner methods + removed (?P#id) syntax; the "lastindex" and "lastgroup" attributes are now always set + removed string module dependencies in sre_parse + better debugging support in sre_parse + various tweaks to build under 1.5.2
* Added a few docstringsPaul Prescod2000-07-211-0/+7
|
* Added docstringsPaul Prescod2000-07-211-5/+71
|
* Small fixes by Petru Paler (patch #100946) checked in with esr's approval.Thomas Wouters2000-07-211-2/+2
|
* restructured a bit and added some more content...Skip Montanaro2000-07-191-53/+142
|
* make TestFailed a class exceptionSkip Montanaro2000-07-191-1/+2
|
* added rewritten normpath from Moshe Zadka that does the right thing withSkip Montanaro2000-07-191-23/+18
| | | | paths containing ..
* Enable extra testing now that os.isatty() is in. (Also tests os.isatty ;P)Thomas Wouters2000-07-192-10/+8
|
* no changes other than indentation level (now 4) and comment reflow.Greg Stein2000-07-182-1058/+1067
| | | | use "cvs diff -b" to verify.
* * split on / or \Skip Montanaro2000-07-171-3/+5
| | | | * case insensitive comparison
* damn! cut-n-paste from ntpath forgot the "import re"Skip Montanaro2000-07-171-0/+1
|