diff options
-rw-r--r-- | Lib/ctypes/util.py | 4 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py index 37e4b03..794b895 100644 --- a/Lib/ctypes/util.py +++ b/Lib/ctypes/util.py @@ -49,12 +49,12 @@ if os.name == "nt": # See MSDN for the REAL search order. for directory in os.environ['PATH'].split(os.pathsep): fname = os.path.join(directory, name) - if os.path.exists(fname): + if os.path.isfile(fname): return fname if fname.lower().endswith(".dll"): continue fname = fname + ".dll" - if os.path.exists(fname): + if os.path.isfile(fname): return fname return None @@ -127,6 +127,9 @@ Installation Library ------- +- Issue #4875: On win32, ctypes.util.find_library does no longer + return directories. + - Issue #5142: Add the ability to skip modules while stepping to pdb. - Issue #1309567: Fix linecache behavior of stripping subdirectories when |