summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorAteeq Sharfuddin <ateeq.sharfuddin@gmail.com>2022-12-15 22:59:37 (GMT)
committerGitHub <noreply@github.com>2022-12-15 22:59:37 (GMT)
commit101cfe679fe10b9b662e815999dadf81fcc32c9c (patch)
tree5f3db871f2a96f0aa647d06952c8f532cb84c195 /Misc/NEWS.d
parentb430399d41fa88e9040cd055e55cf9211bf63c61 (diff)
downloadcpython-101cfe679fe10b9b662e815999dadf81fcc32c9c.zip
cpython-101cfe679fe10b9b662e815999dadf81fcc32c9c.tar.gz
cpython-101cfe679fe10b9b662e815999dadf81fcc32c9c.tar.bz2
gh-78997: AttributeError if loading fails in LibraryLoader.__getattr__
Co-authored-by: Zachary Ware <zachary.ware@gmail.com> Co-authored-by: Filipe LaĆ­ns <filipe.lains@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Windows/2021-04-08-00-36-37.bpo-34816.4Xe0id.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Windows/2021-04-08-00-36-37.bpo-34816.4Xe0id.rst b/Misc/NEWS.d/next/Windows/2021-04-08-00-36-37.bpo-34816.4Xe0id.rst
new file mode 100644
index 0000000..6fe5f12
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2021-04-08-00-36-37.bpo-34816.4Xe0id.rst
@@ -0,0 +1,3 @@
+``hasattr(ctypes.windll, 'nonexistant')`` now returns ``False`` instead of raising :exc:`OSError`.
+
+