]> granicus.if.org Git - python/commit
bpo-38026: fix inspect.getattr_static (GH-15676)
authorInada Naoki <songofacandy@gmail.com>
Thu, 5 Sep 2019 04:07:08 +0000 (13:07 +0900)
committerGitHub <noreply@github.com>
Thu, 5 Sep 2019 04:07:08 +0000 (13:07 +0900)
commit8f9cc8771ffb8d0e21be287eaed42ae06087acca
treea787ec3d18b375519f6812e6d4632cc18800828f
parent2cd902585815582eb059e3b40e014ebe4e7fdee7
bpo-38026: fix inspect.getattr_static (GH-15676)

It should avoid dynamic lookup including `isinstance`.

This is a regression caused by GH-5351.
Lib/inspect.py
Misc/NEWS.d/next/Library/2019-09-04-20-34-14.bpo-38026.0LLRX-.rst [new file with mode: 0644]