• Raymond Hettinger's avatar
    Closes SF bug #628246. · 1eb1fb81
    Raymond Hettinger yazdı
    The _update method detected mutable elements by trapping TypeErrors.
    Unfortunately, this masked useful TypeErrors raised by the iterable
    itself.  For cases where it is possible for an iterable to raise
    a TypeError, the iterable is pre-converted to a list outside the
    try/except so that any TypeErrors propagate through.
    1eb1fb81
test_sets.py 19.6 KB