diff options
author | Ateeq Sharfuddin <ateeq.sharfuddin@gmail.com> | 2022-12-15 22:59:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 22:59:37 (GMT) |
commit | 101cfe679fe10b9b662e815999dadf81fcc32c9c (patch) | |
tree | 5f3db871f2a96f0aa647d06952c8f532cb84c195 /Misc/NEWS.d | |
parent | b430399d41fa88e9040cd055e55cf9211bf63c61 (diff) | |
download | cpython-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.rst | 3 |
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`.
+
+
|