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: ctypes.util.find_msvcrt() does not work in python 3.5.1
Type: behavior Stage:
Components: Windows Versions: Python 3.5
Status: closed Resolution: duplicate
Dependencies: Superseder: ctypes.util.find_library("c") no longer makes sense
View: 23606
Assigned To: Nosy List: Henri Starmans, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2016-04-10 10:16 by Henri Starmans, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg263126 - (view) Author: Henri Starmans (Henri Starmans) Date: 2016-04-10 10:16
Function find_msvcrt() returns None in Python 3.5.1, I expected

test code:
from ctypes.util import find_msvcrt
msg263143 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2016-04-10 14:38
See issue23606.

Not only is your expectation incorrect, you wouldn't get sensible behavior if it was. You should generally avoid using this function, and use the msvcrt module or ctypes.cdll.msvcrt (if you don't need to interoperate with CPython itself).
Date User Action Args
2022-04-11 14:58:29adminsetgithub: 70914
2016-04-10 14:38:31steve.dowersetstatus: open -> closed
superseder: ctypes.util.find_library("c") no longer makes sense
resolution: duplicate
messages: + msg263143
2016-04-10 10:16:26Henri Starmanscreate