]> granicus.if.org Git - python/commit
check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604)
authorBenjamin Peterson <benjamin@python.org>
Wed, 30 Dec 2009 19:34:10 +0000 (19:34 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 30 Dec 2009 19:34:10 +0000 (19:34 +0000)
commit0f02d3933bff50042dd914d5d17831af7093cf55
tree68365aea879cae3caa8b4267e45922ec2fa49c18
parentb7953f00b186baee159a2d5dfe1e80ca0ef00a29
check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604)

Also, add a note to the docs about the better behavior of T_OBJECT_EX as
compared to T_OBJECT.
Doc/c-api/structures.rst
Lib/test/test_descr.py
Misc/NEWS
Python/structmember.c