- 18 Sep, 2004 4 commits
-
-
Martin v. Löwis authored
Will backport to 2.3.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Barry Warsaw authored
of the Template.delimiter attribute, we make use of the delimiter in the escaped group, and in the safe_substitute() method more robust. Now, .delimiter should be the unescaped delimiter literal, e.g. '$' or '&', or whatever. The _TemplateMetaclass will re.escape() this value when it builds the pattern.
-
- 17 Sep, 2004 3 commits
-
-
Fred Drake authored
-
Sean Reifschneider authored
"AutoReq: 0" to disable automatic dependency searching.
-
Sean Reifschneider authored
os.path.abspath(self.rpm_base) instead of os.getcwd() + '/' + self.rpm_base
-
- 16 Sep, 2004 4 commits
-
-
Raymond Hettinger authored
High level error message was stomping useful detailed messages from lower level routines. The new approach is to augment string error messages returned by the low level routines. The provides both high and low level information. If the exception value is not a string, no changes are made. To see the improved messages in action, type: import random class R(random): pass class B(bool): pass
-
Skip Montanaro authored
-
Tim Peters authored
Treat comparing a date to a datetime like a mixed-type comparison.
-
Tim Peters authored
-
- 15 Sep, 2004 3 commits
-
-
Brett Cannon authored
-
Thomas Heller authored
-
Martin v. Löwis authored
-
- 14 Sep, 2004 12 commits
-
-
Martin v. Löwis authored
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Michael W. Hudson authored
module type with silly arguments. (The exact name can be quibbled over, if you care). This was partially inspired by bug #1014215 and so on, but is also just a good idea.
-
Michael W. Hudson authored
-
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 14 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.
-