commit | 1eb1fb814b4d5ea12dcffd18bb132a1313a48ccf | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri Nov 08 05:03:21 2002 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Fri Nov 08 05:03:21 2002 +0000 |
tree | 896d6c9b5f20d362f784cb2ea59ad74d08ffe017 | |
parent | dde800ec4ee704d0c4d6d0b60d74e72e0ea834d8 [diff] |
Closes SF bug #628246. 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.