summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAaron Hall, MBA <aaronchall@yahoo.com>2018-05-20 23:46:42 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-05-20 23:46:42 (GMT)
commit4054b172ab59054715a2aaf4979bd84ac23e3ada (patch)
treee21f94afd65ee1cd88e011649fd6147f03567a12 /Misc
parentaef639f62677f8a342af24e9c19f0503b0d1e36e (diff)
downloadcpython-4054b172ab59054715a2aaf4979bd84ac23e3ada.zip
cpython-4054b172ab59054715a2aaf4979bd84ac23e3ada.tar.gz
cpython-4054b172ab59054715a2aaf4979bd84ac23e3ada.tar.bz2
bpo-26103: Fix inspect.isdatadescriptor() and a data descriptor definition. (GH-1959)
Look for '__set__' or '__delete__'.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-14-09-07-14.bpo-26103._zU8E2.rst2
2 files changed, 3 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index cb7f4cd..4d295b6 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -603,6 +603,7 @@ Peter Haight
Václav Haisman
Zbigniew Halas
Walker Hale IV
+Aaron Christopher Hall
Bob Halley
Jesse Hallio
Jun Hamano
diff --git a/Misc/NEWS.d/next/Library/2018-05-14-09-07-14.bpo-26103._zU8E2.rst b/Misc/NEWS.d/next/Library/2018-05-14-09-07-14.bpo-26103._zU8E2.rst
new file mode 100644
index 0000000..cb4c41b
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-05-14-09-07-14.bpo-26103._zU8E2.rst
@@ -0,0 +1,2 @@
+Correct ``inspect.isdatadescriptor`` to look for ``__set__`` or
+``__delete__``. Patch by Aaron Hall.