]> granicus.if.org Git - python/commit
Issue #15478: Use source filename in OSError, not destination filename
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 31 Oct 2012 21:47:43 +0000 (22:47 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 31 Oct 2012 21:47:43 +0000 (22:47 +0100)
commitafe170645753d73b9ce49c7791fbeab15f6d0fc7
tree34f03ba946317a4352235e1f24af2907299e2eca
parenta0c811e439d299c5647a93e9f76b45d76a6796ec
Issue #15478: Use source filename in OSError, not destination filename

And other fixes for Windows:

 * rename, replace and link require arguments of the same type on Windows
 * readlink only supports unicode filenames on Windows
 * os.open() specifies the filename on OSError
Lib/test/test_os.py
Modules/posixmodule.c