classification
Title: find_library("c") defers to find_msvcrt()
Type: Stage:
Components: ctypes, Documentation, Windows Versions: Python 3.7, Python 3.6, Python 3.5, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, martin.panter, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2016-09-27 01:27 by martin.panter, last changed 2016-09-27 01:27 by martin.panter.

Messages (1)
msg277479 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-09-27 01:27
Issue 1793 added ctypes.util.find_msvcrt(), and special cases that map find_library("c") and "m" to the new function. However this contradicts the documentation <https://docs.python.org/3.5/library/ctypes.html#finding-shared-libraries>:

‘On Windows, . . . a call like find_library("c") will fail and return None.’

I think the documentation needs updating or clarifying.
History
Date User Action Args
2016-09-27 01:27:45martin.pantercreate