]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport from 2.3:
authorGuido van Rossum <guido@python.org>
Mon, 13 May 2002 18:30:40 +0000 (18:30 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 13 May 2002 18:30:40 +0000 (18:30 +0000)
commitb4a27b9e6187145f967c588d90495cdf298c0000
tree1e63f0e04a160785cf19391c99fef041800ea406
parent332a458dd1527be21bc3c93e4eff692070439f24
Backport from 2.3:

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.
Lib/test/test_descr.py
Objects/object.c