Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | * split on / or \ | Skip Montanaro | 2000-07-17 | 1 | -6/+3 |
| | | | | * case insensitive | ||||
* | At GVR's request. | Paul Prescod | 2000-07-16 | 1 | -344/+0 |
| | |||||
* | Online help facility for the Python interprter and other interactive | Paul Prescod | 2000-07-16 | 1 | -0/+344 |
| | | | | environments. | ||||
* | split and join on "/" in commonprefix | Skip Montanaro | 2000-07-16 | 1 | -6/+3 |
| | |||||
* | Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either | Thomas Wouters | 2000-07-16 | 50 | -103/+103 |
| | | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;) | ||||
* | Bugfix by Rob W. W. Hooft, from his spelling fixes patch. This one is a | Thomas Wouters | 2000-07-16 | 2 | -2/+2 |
| | | | | genuine bug, so I checked it in separately. | ||||
* | -- fixed the comment, too | Fredrik Lundh | 2000-07-15 | 1 | -3/+3 |
| | |||||
* | -- note to self: wait until 'cvs commit' has finished before | Fredrik Lundh | 2000-07-15 | 1 | -3/+2 |
| | | | | you edit the file. | ||||
* | -- changed default encoding to "ascii". you can still change | Fredrik Lundh | 2000-07-15 | 1 | -17/+13 |
| | | | | the default via site.py... | ||||
* | Break a cycle created in the saboteur() function. | Vladimir Marangozov | 2000-07-15 | 1 | -2/+5 |
| | |||||
* | ConfigParser enhancements to edit existing configs, part 2 | Eric S. Raymond | 2000-07-14 | 1 | -5/+41 |
| | |||||
* | Typo fix from Bastian Kleineidam | Andrew M. Kuchling | 2000-07-14 | 1 | -1/+1 |
| | |||||
* | Break the cycles after testing cmp() on cyclic objects. | Vladimir Marangozov | 2000-07-14 | 1 | -0/+2 |
| | |||||
* | Apply Greg Kochanski's fix for open/265. | Eric S. Raymond | 2000-07-13 | 1 | -4/+1 |
| | |||||
* | Fix bug open/243 reported by Dimitri Papadopoulos | Eric S. Raymond | 2000-07-13 | 1 | -1/+2 |
| | |||||
* | forgot to change copy.copy(m) to m[:] | Skip Montanaro | 2000-07-13 | 1 | -2/+2 |
| | |||||
* | fixed semantics of commonprefix to work by path elements instead of | Skip Montanaro | 2000-07-12 | 4 | -12/+53 |
| | | | | characters. | ||||
* | apply patch #100868 from Moshe Zadka: | Greg Stein | 2000-07-12 | 1 | -5/+10 |
| | | | | refactor the copying of file data. new: shutil.copyfileobj(fsrc, fdst) | ||||
* | Remove extra argument to method call | Andrew M. Kuchling | 2000-07-12 | 1 | -1/+1 |
| | |||||
* | new test for posixpath module | Skip Montanaro | 2000-07-12 | 1 | -0/+2 |
| | |||||
* | new test file for posixpath module | Skip Montanaro | 2000-07-12 | 1 | -0/+42 |
| | |||||
* | small updates to string_join: | Jeremy Hylton | 2000-07-11 | 1 | -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 are | Fred Drake | 2000-07-11 | 2 | -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 Dalke | Jeremy Hylton | 2000-07-11 | 5 | -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 in | Eric S. Raymond | 2000-07-11 | 1 | -6/+6 |
| | | | | the documentation; the cases `? foo' and `! foo' failed. | ||||
* | fixed inconsistent use of tab and spaces | Peter Schneider-Kamp | 2000-07-11 | 1 | -3/+3 |
| | |||||
* | Add test of resize() method of mmap objects | Andrew M. Kuchling | 2000-07-11 | 2 | -0/+13 |
| | |||||
* | Docstring changes. | Andrew M. Kuchling | 2000-07-11 | 2 | -6/+2 |
| | |||||
* | add more tests of string.join variants to run_method_tests | Jeremy Hylton | 2000-07-11 | 1 | -8/+11 |
| | |||||
* | -- removed get_default compatibility kludge | Fredrik Lundh | 2000-07-10 | 2 | -3/+4 |
| | | | | -- added a few extra comments to locale.py | ||||
* | Give ConfigParser the capability to set as well as read options, and to write | Eric S. Raymond | 2000-07-10 | 1 | -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 module | Jeremy Hylton | 2000-07-10 | 4 | -353/+202 |
| | | | | test_string and test_userstring run same tests for string methods | ||||
* | add isalpha and isalnum methods | Jeremy Hylton | 2000-07-10 | 1 | -0/+2 |
| | |||||
* | Added the line 'Testing UTF-16 code point order comparisons... done." | Guido van Rossum | 2000-07-10 | 1 | -0/+1 |
| | | | | to match addition to test_unicode.py. |