Марк Коренберг <socketp...@gmail.com> added the comment:
why not use _open_osfhandle? Because it is wrapper for other CRT functions for Windows, like close(). In other words it is an emulation. I think Python should not create wrapper around wrapper around wrapper... For example, in Python3, open() implemented using open() and not using fopen(). Why we should use another wrapper on Windows platform? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12939> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com