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.

Author eryksun
Recipients CharlieClark, Dominik Geldmacher, Manjusaka, eryksun, jkloth, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-05-06.20:09:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> libc = ctypes.cdll.msvcrt

That's the private CRT of Windows, not the Universal CRT for applications. In a release build (python.exe), use ctypes.CDLL('ucrtbase', use_errno=True). In a debug build (python_d.exe), use ctypes.CDLL('ucrtbased', use_errno=True).

I suppose we should use API sets [1] for the release build, such as "api-ms-win-crt-locale-l1-1-0" and 
"api-ms-win-crt-time-l1-1-0". But they resolve to "ucrtbase". 

Date User Action Args
2019-05-06 20:09:43eryksunsetrecipients: + eryksun, paul.moore, vstinner, tim.golden, jkloth, zach.ware, steve.dower, Manjusaka, CharlieClark, Dominik Geldmacher
2019-05-06 20:09:43eryksunsetmessageid: <>
2019-05-06 20:09:43eryksunlinkissue36792 messages
2019-05-06 20:09:43eryksuncreate