Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | -- SRE 0.9.8: now that the bug is fixed, I might as well enable | Fredrik Lundh | 2000-08-01 | 1 | -4/+2 |
| | | | | the test again... | ||||
* | -- SRE 0.9.8: updated test scripts | Fredrik Lundh | 2000-08-01 | 3 | -21/+6 |
| | |||||
* | Added Python function to emulate the ncurses has_key() function. | Andrew M. Kuchling | 2000-08-01 | 2 | -0/+197 |
| | |||||
* | Add magic to replace the xml package with _xmlplus at import time. | Fred Drake | 2000-08-01 | 1 | -1/+11 |
| | | | | Update docstring to reflect change of name for the parsers subpackage. | ||||
* | Rename the "parser" package to "parsers" to be compatible with the PyXML | Fred Drake | 2000-07-31 | 1 | -0/+0 |
| | | | | project. | ||||
* | added count, extend, index, pop and remove to arraymodule | Peter Schneider-Kamp | 2000-07-31 | 1 | -0/+40 |
| | |||||
* | Fix inconsistent use of tab/space in indentation. | Thomas Wouters | 2000-07-30 | 1 | -8/+8 |
| | |||||
* | Test that after resizing the mmap'd file, we can't seek beyond the new size. | Mark Hammond | 2000-07-30 | 1 | -1/+8 |
| | |||||
* | Catch syntax errors from processing template lines and turn them into | Greg Ward | 2000-07-30 | 1 | -2/+9 |
| | | | | | mere warnings. Call 'findall()' on our FileList object before we start using it seriously. | ||||
* | Added list-like methods: 'append()', 'extend()', 'sort()'. | Greg Ward | 2000-07-30 | 1 | -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 FileList | Greg Ward | 2000-07-30 | 1 | -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 Ward | 2000-07-30 | 1 | -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 Ward | 2000-07-30 | 1 | -1/+1 |
| | |||||
* | Added DistutilsTemplateError. | Greg Ward | 2000-07-30 | 1 | -0/+3 |
| | |||||
* | Ditched the unused 'recursive_exclude_pattern()' method. | Greg Ward | 2000-07-30 | 1 | -24/+0 |
| | |||||
* | Renamed 'select_pattern()' to 'include_pattern()'. | Greg Ward | 2000-07-30 | 1 | -15/+16 |
| | | | | Other cosmetic/doc/comment tweaks. | ||||
* | Renamed 'process_line()' to 'process_template_line()', and factored out | Greg Ward | 2000-07-30 | 1 | -69/+63 |
| | | | | '_parse_template_line()'. | ||||
* | Added class docstring and ditched inappropriate class attrs. | Greg Ward | 2000-07-30 | 1 | -123/+126 |
| | | | | Indentation/whitspace fixes. | ||||
* | Provides the FileList class for building a list of filenames by exploring | Greg Ward | 2000-07-30 | 1 | -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 the | Andrew M. Kuchling | 2000-07-29 | 1 | -4/+28 |
| | | | | test file, too, so the methods have more work to do. | ||||
* | SF patch #100740: Add optional size arguments to .readline() and | Andrew M. Kuchling | 2000-07-29 | 1 | -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 Zadka | 2000-07-29 | 1 | -0/+12 |
| | | | | This closes bug 200 on Jitterbug. | ||||
* | Using shutil's function to copy data between file objects instead | Moshe Zadka | 2000-07-29 | 1 | -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 Hammond | 2000-07-28 | 1 | -5/+14 |
| | | | | incomplete. | ||||
* | Fix a type in the docstrings, and make the module Unicode aware. | Mark Hammond | 2000-07-28 | 1 | -4/+8 |
| | |||||
* | Remove erroneous empty trailing line. (cause test_winreg.py failure) | Trent Mick | 2000-07-27 | 1 | -1/+0 |
| | |||||
* | -- changed test to work on platforms which have os.popen | Fredrik Lundh | 2000-07-27 | 1 | -2/+8 |
| | | | | but no os.fork | ||||
* | Bump version to 0.9.1pre. | Greg Ward | 2000-07-27 | 1 | -1/+1 |
| | |||||
* | Fixed a grab-bag of typos spotted by Rob Hooft. | Greg Ward | 2000-07-27 | 9 | -11/+11 |
| | |||||
* | Remove unused 'search_dir()' method. | Greg Ward | 2000-07-27 | 1 | -21/+1 |
| | | | | Comment tweak. | ||||
* | Fix to call 'library_filename()' instead of the non-existent | Greg Ward | 2000-07-27 | 1 | -3/+5 |
| | | | | 'shared_library_filename()'. | ||||
* | Typo fix from David Ascher. | Greg Ward | 2000-07-27 | 1 | -1/+1 |
| | |||||
* | Patch #100873 - Use registry to find proxies for urllib on Win32 | Mark Hammond | 2000-07-26 | 1 | -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.c | Peter Schneider-Kamp | 2000-07-25 | 2 | -0/+17 |
| | |||||
* | makedirs(), removedirs(): If the tail of the path is empty, do a second | Fred Drake | 2000-07-25 | 1 | -0/+4 |
| | | | | | | split so the logic does not fail in corner cases. This closes bug #407. | ||||
* | a couple of nits from Patch #100933 | Jeremy Hylton | 2000-07-25 | 1 | -2/+2 |
| | |||||
* | Made an error message slightly more useful if select() returns something goofy | Andrew M. Kuchling | 2000-07-25 | 1 | -1/+1 |
| | |||||
* | -- updated to include known problems in SRE 0.9.6 | Fredrik Lundh | 2000-07-24 | 1 | -414/+11 |
| | | | | (cf. test/output/test_sre) | ||||
* | Restore TestSkipped exception; appears to have disappeared in last checkin. | Fred Drake | 2000-07-24 | 1 | -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 Lundh | 2000-07-23 | 5 | -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 docstrings | Paul Prescod | 2000-07-21 | 1 | -0/+7 |
| | |||||
* | Added docstrings | Paul Prescod | 2000-07-21 | 1 | -5/+71 |
| | |||||
* | Small fixes by Petru Paler (patch #100946) checked in with esr's approval. | Thomas Wouters | 2000-07-21 | 1 | -2/+2 |
| | |||||
* | restructured a bit and added some more content... | Skip Montanaro | 2000-07-19 | 1 | -53/+142 |
| | |||||
* | make TestFailed a class exception | Skip Montanaro | 2000-07-19 | 1 | -1/+2 |
| | |||||
* | added rewritten normpath from Moshe Zadka that does the right thing with | Skip Montanaro | 2000-07-19 | 1 | -23/+18 |
| | | | | paths containing .. | ||||
* | Enable extra testing now that os.isatty() is in. (Also tests os.isatty ;P) | Thomas Wouters | 2000-07-19 | 2 | -10/+8 |
| | |||||
* | no changes other than indentation level (now 4) and comment reflow. | Greg Stein | 2000-07-18 | 2 | -1058/+1067 |
| | | | | use "cvs diff -b" to verify. | ||||
* | * split on / or \ | Skip Montanaro | 2000-07-17 | 1 | -3/+5 |
| | | | | * case insensitive comparison | ||||
* | damn! cut-n-paste from ntpath forgot the "import re" | Skip Montanaro | 2000-07-17 | 1 | -0/+1 |
| |