summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-09-05 04:07:08 (GMT)
committerGitHub <noreply@github.com>2019-09-05 04:07:08 (GMT)
commit8f9cc8771ffb8d0e21be287eaed42ae06087acca (patch)
treea787ec3d18b375519f6812e6d4632cc18800828f /Misc
parent2cd902585815582eb059e3b40e014ebe4e7fdee7 (diff)
downloadcpython-8f9cc8771ffb8d0e21be287eaed42ae06087acca.zip
cpython-8f9cc8771ffb8d0e21be287eaed42ae06087acca.tar.gz
cpython-8f9cc8771ffb8d0e21be287eaed42ae06087acca.tar.bz2
bpo-38026: fix inspect.getattr_static (GH-15676)
It should avoid dynamic lookup including `isinstance`. This is a regression caused by GH-5351.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-09-04-20-34-14.bpo-38026.0LLRX-.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-09-04-20-34-14.bpo-38026.0LLRX-.rst b/Misc/NEWS.d/next/Library/2019-09-04-20-34-14.bpo-38026.0LLRX-.rst
new file mode 100644
index 0000000..166cd86
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-09-04-20-34-14.bpo-38026.0LLRX-.rst
@@ -0,0 +1,2 @@
+Fixed :func:`inspect.getattr_static` used ``isinstance`` while it should
+avoid dynamic lookup.