Eryk Sun <eryk...@gmail.com> added the comment:
> I think this only happens with open(). Well, and everything else that calls a CRT function and relies on errno, such as C read() and write(). Though we'd have to look through on a case-by-case basis to ensure that _doserrno is valid in each case, i.e. that errno was set based on a Windows error code. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37769> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com