[New-bugs-announce] [issue28282] find_library("c") defers to find_msvcrt()

Martin Panter report at bugs.python.org
Mon Sep 26 21:27:45 EDT 2016


New submission from Martin Panter:

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.

----------
assignee: docs at python
components: Documentation, Windows, ctypes
messages: 277479
nosy: docs at python, martin.panter, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: find_library("c") defers to find_msvcrt()
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28282>
_______________________________________


More information about the New-bugs-announce mailing list