- 21 May, 2004 2 commits
-
-
Raymond Hettinger authored
* rename a variable for clarity
-
Raymond Hettinger authored
* Factored out common code to a single private function. * Use str.join() instead of + concatenation * Loop over elements directly instead of using indexing * Use % operator for formatting
-
- 20 May, 2004 5 commits
-
-
Raymond Hettinger authored
expression.
-
Raymond Hettinger authored
-
Piers Lauder authored
-
Piers Lauder authored
-
Piers Lauder authored
-
- 19 May, 2004 6 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* Put in a brief, example driven tutorial entry. * Use better examples in whatsnew24.tex.
-
Armin Rigo authored
-
Andrew M. Kuchling authored
Set data pointer to NULL after an error; this keeps the mmap_dealloc() function from trying to do msync(-1);munmap(-1). 2.3 bugfix candidate, but this bug isn't critical enough that the fix has to go into 2.3.4
-
Raymond Hettinger authored
(Code contributed by Jiwon Seo.) The documentation portion of the patch is being re-worked and will be checked-in soon. Likewise, PEP 289 will be updated to reflect Guido's rationale for the design decisions on binding behavior (as described in in his patch comments and in discussions on python-dev). The test file, test_genexps.py, is written in doctest format and is meant to exercise all aspects of the the patch. Further additions are welcome from everyone. Please stress test this new feature as much as possible before the alpha release.
-
- 18 May, 2004 6 commits
-
-
Raymond Hettinger authored
-
Fred Drake authored
-
Fred Drake authored
- read() method returns a list of files parsed successfully - add tests, documentation (closes SF patch #677651)
-
Fred Drake authored
- DuplicateSectionError is only raised by add_section() (closes SF bug #830449)
-
Fred Drake authored
- don't allow setting options to non-string values; raise TypeError when the value is set, instead of raising an arbitrary exception later (such as when string interpolation is performed) - add tests, documentation (closes SF bug #810843)
-
Fred Drake authored
- ensure that option names in interpolations are handled by self.optionxform in the same way that other references to option names - add tests, documentation (closes SF bug #857881, patch #865455)
-
- 17 May, 2004 1 commit
-
-
Skip Montanaro authored
-
- 16 May, 2004 1 commit
-
-
Tim Peters authored
converting it into assertRaises() form. Restored the 2.3 code, and explained why assertRaises() cannot be used instead.
-
- 15 May, 2004 2 commits
-
-
Barry Warsaw authored
-
Raymond Hettinger authored
-
- 14 May, 2004 1 commit
-
-
Skip Montanaro authored
-
- 13 May, 2004 10 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
still 7-bit.
-
Barry Warsaw authored
parser must recognize outer boundaries in inner parts. So cruise through the EOF stack backwards testing each predicate against the current line. There's still some discussion about whether this is (always) the best thing to do. Anthony would rather parse these messages as if the outer boundaries were ignored. I think that's counter to the RFC, but might be practically more useful. Can you say behavior flag? (ug).
-
Barry Warsaw authored
Two evil samples from Anthony's MIME torture tests.
-
Barry Warsaw authored
-
Barry Warsaw authored
same boundary as the outer part.
-
Barry Warsaw authored
separating boundary for an outer part inside an inner part.
-
Anthony Baxter authored
-
Greg Ward authored
optimization for short input; beef up tests for fix_sentence_endings feature.
-
- 12 May, 2004 6 commits
-
-
Raymond Hettinger authored
Minor wording fix.
-
Raymond Hettinger authored
same method that implements __setitem__ also implements __delitem__. Also, there were several good use cases (removing items from a queue and implementing Forth style stack ops).
-
Thomas Heller authored
-
Fred Drake authored
(closes SF patch #870287)
-
Fred Drake authored
-
Fred Drake authored
-