[Python-3000] os.stat() raises UnicodeDecodeError on Polish windows if file not exist
Amaury Forgeot d'Arc
amauryfa at gmail.com
Fri Aug 31 22:31:10 CEST 2007
Hello,
Christian Heimes wrote:
> Piotr Duda wrote:
> > In 3.0a1 on Polish winxp os.stat() raises UnicodeDecodeError (utf-8
> > codec can't decode ...) if file not exist, it is probably caused by
> > localized error messages returned by FormatMessage.
>
> On German Win XP, too
Would you please test with the following patch? it seems to correct
the problem on my French Windows XP.
Maybe we can have it corrected before a complete European tour...
--
Amaury Forgeot d'Arc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: errors.diff
Type: application/octet-stream
Size: 4574 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20070831/2a318b5d/attachment.obj
More information about the Python-3000
mailing list