- 14 Sep, 2004 7 commits
-
-
Skip Montanaro authored
separates ip address from the port to accommodate ipv6 addresses.
-
Walter Dörwald authored
-
Walter Dörwald authored
to make it clear that it is possible to pass None as the separator argument to get the default "any whitespace" separator.
-
Martin v. Löwis authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* The parameterization of "delimiter" was incomplete. * safe_substitute's code for braced delimiters should only be executed when braced is not None. * Invalid pattern group names now raise a ValueError. Formerly, the convert code would fall off the end and improperly return None. Beefed-up tests. * Test delimiter override for all paths in substitute and safe_substitute. * Alter unittest invocation to match other modules (now it itemizes the tests as they are run).
-
- 13 Sep, 2004 15 commits
-
-
Raymond Hettinger authored
Renamed the new generator at Trevor's recommendation. The name HardwareRandom suggested a bit more than it delivered (no radioactive decay detectors or such).
-
Barry Warsaw authored
-
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 5 commits
-
-
Andrew M. Kuchling authored
-
Barry Warsaw authored
Template and unicode classes.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-