[issue9291] mimetypes initialization fails on Windows because of non-Latin characters in registry

R. David Murray report at bugs.python.org
Mon Jul 19 16:30:27 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

I'm guessing this problem doesn't occur in 3.x?  If so, the quick fix would be to have the registry code catch UnicodeError instead of UnicodeEncodeError.  That may be the correct fix anyway.

The "fun" part of this bug is going to be creating a unit test for it.

----------
keywords: +easy
nosy: +r.david.murray
stage:  -> unit test needed
type:  -> behavior

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


More information about the Python-bugs-list mailing list