Steve Dower added the comment: I responded to Victor's suggestion about _Py_open instead of _open, but on rereading I see that it also handles EINTR.
AFAICT (from https://msdn.microsoft.com/en-us/library/5814770t.aspx, mainly), Windows isn't ever going to return EINTR from the CRT. I don't especially want to have to modify _Py_open to take another parameter to suppress creating a new file, but if someone else does then I'm happy to use it. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23668> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com