[New-bugs-announce] [issue23606] ctypes.util.find_library("c") no longer makes sense

Steve Dower report at bugs.python.org
Sun Mar 8 05:41:10 CET 2015

New submission from Steve Dower:

With the changes to the CRT on Windows, it no longer makes any sense to call find_library("c") or ("m") as there is no single C Runtime DLL. The new structure has a grouped and layered approach that is better for versioning, so we now link to "api-ms-win-crt-*-l1-1-0.dll" where "*" is something like "filesystem", "heap", "locale", "math", "string", etc. and the "l1-1-0" part is a version.

I don't know what the intended purpose of this function is, so I can't suggest a good replacement other than very fast deprecation in 3.4 and raising an error in 3.5. Any better suggestions?

components: ctypes
messages: 237510
nosy: amaury.forgeotdarc, belopolsky, meador.inge, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: ctypes.util.find_library("c") no longer makes sense
type: behavior
versions: Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list