[issue23371] mimetypes initialization fails on Windows because of TypeError

2015-02-01 Thread Stéphane Lenclud
New submission from Stéphane Lenclud: On my Windows 7 installation mimetypes.py in read_windows_registry _winreg.OpenKey can throw a TypeError exception which is not handled and interrupts the execution. To fix it I added: except TypeError: continue To reproduce it I just need to run te

[issue23371] mimetypes initialization fails on Windows because of TypeError

2015-02-01 Thread Stéphane Lenclud
Stéphane Lenclud added the comment: I don't think so. Here is the traceback btw: File "setup.py", line 18, in exec(init_file.read(), command_ns) File "", line 11, in File "c:\users\sl\appdata\local\temp\tmpoaaddk\setuptools-12.0.5\setuptools\__init