[issue13374] Deprecate usage of the Windows ANSI API in the nt module
sbt
report at bugs.python.org
Wed Nov 9 16:51:15 CET 2011
sbt <shibturn at gmail.com> added the comment:
> Functions like os.execv() or os.readlink() are not deprecated because
> the underlying C function really uses a bytes API (execv and readlink).
Probably os.execv() should be implemented on Windows with _wexecv() instead of _execv(). Likewise for other functions which have "wide" versions. Or maybe it wouldn't be worth the effort, since it would mean writing separate Windows implementations.
I don't know what you mean about os.readlink() though: the Windows implementation uses CreateFileW() and DeviceIoControl().
----------
nosy: +sbt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13374>
_______________________________________
More information about the Python-bugs-list
mailing list