]> granicus.if.org Git - python/commit
Fix for SF bug #485678.
authorGuido van Rossum <guido@python.org>
Mon, 3 Dec 2001 00:08:33 +0000 (00:08 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 3 Dec 2001 00:08:33 +0000 (00:08 +0000)
commit1d5b3f29ffc4a17f88f26c670c1e74290795e6f7
treec80f7d2149237f85a567caf3efb05b5996567936
parent55070f5d966f09256c603c3a82fab9b034430c6f
Fix for SF bug #485678.

slot_tp_descr_set(): When deleting an attribute described by a
descriptor implemented in Python, the descriptor's __del__ method is
called by the slot_tp_descr_set dispatch function.  This is bogus --
__del__ already has a different meaning. Renaming this use of __del__
is renamed to __delete__.
Objects/typeobject.c