- 13 Sep, 2004 13 commits
-
-
Barry Warsaw authored
most common paths are tested first. Also, that 'invalid' is better than 'bogus'.
-
http://python.org/sf/728330Trent Mick authored
-
Barry Warsaw authored
with positional arguments.
-
Barry Warsaw authored
-
Andrew M. Kuchling authored
-
Tim Peters authored
-
Tim Peters authored
with default False for testmod(). The real point of introducing this was so that output from doctest.master.summarize() would be the same as in 2.3, and doctest.master in 2.4 is a backward-compatability hack used only by testmod().
-
Barry Warsaw authored
-
Barry Warsaw authored
modification. Also, renamed the positional argument to '__mapping' to further reduce the chance of duplicate keyword arguments.
-
Walter Dörwald authored
-
Edward Loper authored
controls whether tests are included for objects with empty docstrings. Defaults to True, to match the behavior of Python 2.3.
-
Tim Peters authored
doctest always promised to stick "__test__" in the name. That got broken. Now it's fixed again.
-
Tim Peters authored
-
- 12 Sep, 2004 5 commits
-
-
Tim Peters authored
the "backward compatibility" here was a joke.
-
Tim Peters authored
was passed.
-
Raymond Hettinger authored
The list resizing scheme only downsized when more than 16 elements were removed in a single step: del a[100:120]. As a result, the list would never shrink when popping elements off one at a time. This patch makes it shrink whenever more than half of the space is unused. Also, at Tim's suggestion, renamed _new_size to new_allocated. This makes the code easier to understand.
-
Tim Peters authored
-
Tim Peters authored
-
- 11 Sep, 2004 8 commits
-
-
Johannes Gijsbers authored
-
Johannes Gijsbers authored
- Dictionary keys are in arbitrary order, but not random (which implies, well, intentional randomness). - Move a footnote closer to what it's talking about so that it doesn't look like we're saying that "0 == 0.0" can't be relied on. - Minor language tweaks in the vicinity. Thanks Dima Dorfman!
-
Tim Peters authored
functions and methods now, including functions defined inside doctests in test_doctest.py's recursive doctest'ing.
-
Johannes Gijsbers authored
-
Johannes Gijsbers authored
- accomodate -> accommodate - occured -> occurred Thanks George Yoshida!
-
Johannes Gijsbers authored
-
Johannes Gijsbers authored
(functions and methods have grown the __module__ attribute too). See bug #570300.
-
Johannes Gijsbers authored
-
- 10 Sep, 2004 14 commits
-
-
Andrew M. Kuchling authored
-
Barry Warsaw authored
Template and unicode classes.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Andrew M. Kuchling authored
-
Martin v. Löwis authored
Add script dealing with REGISTRY.tcl installation
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Raymond Hettinger authored
-
Barry Warsaw authored
- Template no longer inherits from unicode. - SafeTemplate is removed. Now Templates have both a substitute() and a safe_substitute() method, so we don't need separate classes. No more __mod__() operator. - Adopt Tim Peter's idea for giving Template a metaclass, which makes the delimiter, the identifier pattern, or the entire pattern easy to override and document, while retaining efficiency of class-time compilation of the regexp. - More informative ValueError messages which will help a user narrow down the bogus delimiter to the line and column in the original string (helpful for long triple quoted strings).
-
Fred Drake authored
-