292c835548
Pass the original filename argument to OSError constructor, instead of trying to encode it to or decode it from the filesystem encoding. This change avoids an additionnal UnicodeDecodeError on Windows if the filename cannot be decoded from the filesystem encoding (ANSI code page). |
||
---|---|---|
.. | ||
_iomodule.c | ||
_iomodule.h | ||
bufferedio.c | ||
bytesio.c | ||
fileio.c | ||
iobase.c | ||
stringio.c | ||
textio.c |