diff options
| author | Guido van Rossum <guido@python.org> | 2002-05-13 18:29:46 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2002-05-13 18:29:46 (GMT) |
| commit | 4402241450fe679a3cc90e4491aaabee232bb4e2 (patch) | |
| tree | f696f015b6c33b8cdce1c578c605ca32456f1119 /Lib/HTMLParser.py | |
| parent | df4dabd5d2a983083ebedec7174aa22cee72b154 (diff) | |
| download | cpython-4402241450fe679a3cc90e4491aaabee232bb4e2.zip cpython-4402241450fe679a3cc90e4491aaabee232bb4e2.tar.gz cpython-4402241450fe679a3cc90e4491aaabee232bb4e2.tar.bz2 | |
Jim Fulton reported a segfault in dir(). A heavily proxied object
returned a proxy for __class__ whose __bases__ was also a proxy. The
merge_class_dict() helper for dir() assumed incorrectly that __bases__
would always be a tuple and used the in-line tuple API on the proxy.
I will backport this to 2.2 as well.
Diffstat (limited to 'Lib/HTMLParser.py')
0 files changed, 0 insertions, 0 deletions
