This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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
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 2022-04-11 14:58 by admin.

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.
Date User Action Args
2022-04-11 14:58:37adminsetgithub: 72469
2016-09-27 01:27:45martin.pantercreate