You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ctypes.util.find_msvcrt() does not work in python 3.5.1 #70914
bpo-23606: ctypes.util.find_library("c") no longer makes sense
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2016-04-10.14:38:31.730>created_at=<Date2016-04-10.10:16:25.994>labels= ['type-bug', 'OS-windows']
title='ctypes.util.find_msvcrt() does not work in python 3.5.1'updated_at=<Date2016-04-10.14:38:31.729>user='https://bugs.python.org/HenriStarmans'
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).
Activity
HenriStarmans commentedon Apr 10, 2016
Function find_msvcrt() returns None in Python 3.5.1, I expected
'msvcr100.dll'.
test code:
from ctypes.util import find_msvcrt
print(find_msvcrt())
zooba commentedon Apr 10, 2016
See bpo-23606.
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).