8574 Commits

Author SHA1 Message Date
Anthony Baxter
ea8c552c05 and another date 2003-09-23 08:12:13 +00:00
Raymond Hettinger
54ab431398 Backport Tim's fix to test_winsound.py
PlaySoundTest.test_alias_fallback():  Disabled this test, and explained
why in a new comment.  My home Win98SE box is one of the "real systems"
alluded to (my system "default sound" appears to have vanished sometime
in the last month, that's certainly not a Python bug, and the MS
PlaySound docs are correct in their explanation of what happens then).
2003-09-22 19:14:49 +00:00
Thomas Heller
4e13da1348 Let IDLE use the HTMLHelp docs, if found. 2003-09-22 14:56:11 +00:00
Walter Dörwald
b11a4327da Backport checkin:
Avoid list as a variable name.
2003-09-22 12:44:47 +00:00
Raymond Hettinger
733ca1da95 Removed the PendingDeprecation warning from sets.py because it adds
little value while introducing incompatability with the version
being bugfixed.
2003-09-22 04:42:56 +00:00
Gregory P. Smith
2c627c44f3 simplify some import statements and clean up a docstring and BerkeleyDB library
version check to mention that we support versions 3.2 - 4.2.
2003-09-21 23:18:29 +00:00
Raymond Hettinger
6a5596cc52 Backport Greg's patch (1.7 to 1.8) for backwards code compatability. 2003-09-21 04:51:46 +00:00
Raymond Hettinger
08ae590113 Backport Tim's fix to SF #809915.
Creates a url that should always be invalid.
2003-09-21 04:38:33 +00:00
Martin v. Löwis
2857ef50ba Patch #808362: Fix typos. 2003-09-20 11:09:06 +00:00
Martin v. Löwis
1ee77974d2 Patch #793559: Reset __starttext_tag. Fixes #709491. 2003-09-20 10:58:03 +00:00
Raymond Hettinger
4737992e8c Fix documentation bugs.
Add support for iterators and other mapping methods.
Convert tests to unittest format and expand their coverage.
2003-09-16 21:42:13 +00:00
Raymond Hettinger
675bac026e Backport addition of the __all__ attribute for unittest.py 2003-09-16 04:55:32 +00:00
Raymond Hettinger
9927588795 SF bug #804115: bad argument handling(unittest.py) 2003-09-13 02:59:00 +00:00
Martin v. Löwis
cf9dcc242b Patch #793021: Implement htmllib.HTMLParser.reset. Fixes #711632. 2003-09-12 16:37:45 +00:00
Raymond Hettinger
24af6b5b29 SF #792649: RESET_ERROR is not defined(logging module) 2003-09-10 03:31:47 +00:00
Raymond Hettinger
07759e3786 Set the warnings stacklevel to two. 2003-09-08 19:15:43 +00:00
Skip Montanaro
7b7a9fd7d2 **kwds arg was missing from __init__ for Dict{Reader,Writer} classes. 2003-09-06 19:52:28 +00:00
Raymond Hettinger
0b0aae087a SF bug #801342: Bug (documentation or real, your choice) in random.sample.
random.sample() uses one of two algorithms depending on the ratio of the
sample size to the population size.  One of the algorithms accepted any
iterable population argument so long as it defined __len__().  The other
had a stronger requirement that the population argument be indexable.

While it met the documentation specifications which insisted that the
population argument be a sequence, it made random.sample() less usable
with sets.  So, the second algorithm was modified to coerce non-indexable
iterables and dictionaries into a tuple before proceeding.
2003-09-05 21:40:30 +00:00
Martin v. Löwis
02309684f7 Catch locale.error as well. Fixes #788378. 2003-09-03 05:15:20 +00:00
Barry Warsaw
90fc2aca00 test_get_param_with_semis_in_quotes(): Test case for SF bug #794466.
Backport candidate.
2003-09-03 04:22:00 +00:00
Barry Warsaw
b1919b7ff5 A fix for parsing parameters when there are semicolons inside the
quotes.  Fixes SF bug #794466, with the essential patch provided by
Stuart D. Gathman.  Specifically,

_parseparam(), _get_params_preserve(): Use the parsing function that
takes quotes into account, as given (essentially) in the bug report's
test program.
2003-09-03 04:21:29 +00:00
Raymond Hettinger
4595b6b35d Only apply case-insensitivity test on appropriate platforms.' test_filecmp.py 2003-09-02 07:01:11 +00:00
Raymond Hettinger
c6c1a154cc SF bug #453515: filecmp.dircmp case sensitivity bug 2003-09-02 05:47:17 +00:00
Raymond Hettinger
6437a618b1 Fix failing test 2003-09-02 04:19:02 +00:00
Raymond Hettinger
2dc4637978 SF 798269: bug fix for doctest (sf bug id: 798254
(Contributed by Alexander Belopolsky.)

Doctest would crash when encountering unbound methods:
  class A:
    def f(self): pass

  class C(A):
    g = A.f
2003-09-02 02:10:09 +00:00