- 23 Aug, 2002 14 commits
-
-
Guido van Rossum authored
wrong thing for a unicode subclass when there were zero string replacements. The example given in the SF bug report was only one way to trigger this; replacing a string of length >= 2 that's not found is another. The code would actually write outside allocated memory if replacement string was longer than the search string. (I wonder how many more of these are lurking? The unicode code base is full of wonders.) Bugfix candidate; this same bug is present in 2.2.1.
-
Guido van Rossum authored
the string/unicode method .replace() with a zero-lengt first argument. Inyeol contributed tests for this too.
-
Tim Peters authored
-
Raymond Hettinger authored
-
Tim Peters authored
-
Tim Peters authored
latter is what the code actually does.
-
Tim Peters authored
-
Fred Drake authored
Remove the third column in the tables since it isn't used.
-
Fred Drake authored
Move another entry so the boilerplate doesn't get mixed up with document-specific content.
-
Raymond Hettinger authored
-
Guido van Rossum authored
the element if necessary. Fixed by calling self.remove(element).
-
Guido van Rossum authored
required number of args is 0 or 1 -- were reversed. Also change "1" into "exactly one", the same words as used elsewhere for this condition.
-
Jack Jansen authored
to the list of places where pydoc looks for HTML documents.
-
Guido van Rossum authored
rather than a number of approximating regular expressions. Alas, it is 3-4 times slower. Let that be a challenge for the tokenize module.
-
- 22 Aug, 2002 26 commits
-
-
Jack Jansen authored
classic Python is gone.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Greg Ward authored
any non-whitespace characters adjacent, not just \w.
-
Greg Ward authored
-
Greg Ward authored
we need to test TextWrapper._split().
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
into /--foo-/bar/ rather than /--/foo-/bar/. Needed for Optik and Docutils to handle Unix-style command-line options properly.
-
Guido van Rossum authored
-
Guido van Rossum authored
unittest.makeSuite() rather than loader.loadTestsFromTestCase().
-
Guido van Rossum authored
trailing whitespace.
-
Guido van Rossum authored
Expand the example to show some actual test functions, and a setUp() and tearDown() method.
-
Guido van Rossum authored
of dummy_test_TemporaryFile class; when NamedTemporaryFile and TemporaryFile are the same, simply don't add a test suite for TemporaryFile.
-
Guido van Rossum authored
test_main() that creates a suite and runs it. Don't mess with sys.path!!!
-
Greg Ward authored
em-dashes -- like this -- properly. (Also--like this. Although this usage may be incompatible with fixing bug #596434; we shall see.)
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
suite merging all test cases.
-
Guido van Rossum authored
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
(tests) from test_funky_punc() to test_break_long() and test_long_words() to test_nobreak_long().
-
Greg Ward authored
-