[issue13374] Deprecate usage of the Windows ANSI API in the nt module

STINNER Victor report at bugs.python.org
Wed Nov 9 21:41:17 CET 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Updated patch:

 * os.rename(), os.symlink(), os.link() accept (bytes, str) and (str, bytes) again
 * ensure that the warning is emited after parsing arguments, not before (to not emit a warning if an int is passed instead of bytes or str)
 * add a test on os.open()

----------
Added file: http://bugs.python.org/file23647/deprecate_win_bytes_api-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13374>
_______________________________________


More information about the Python-bugs-list mailing list