eryksun added the comment:
> This code can cause issues on Windows
What's the issue or issues here? For 2.7, Windows won't be able to find
msvcr90.dll without an activation context, but that's just an
ERROR_MOD_NOT_FOUND OS error. It should be ignored by the try/except block. For
3.4, it shouldn't be using SxS for msvcr100.dll, so the server in question must
have an unusual configuration. Still, the OSError that gets raised should be
ignored.
3.5 built with VC 14 has a separate issue related to this. Due to changes from
issue 23606, find_msvcrt now returns None. But the TypeError raised by
CDLL(None) should be ignored here all the same.
BTW, in Windows 10 I'm still able to reference CRT functions by name using
CDLL('ucrtbase'). Are you sure the ultimate plan is to remove the named exports?
----------
nosy: +eryksun
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24634>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com