Gabriel Genellina <gagsl-...@yahoo.com.ar> added the comment: A new patch taking into account M. Pitrou comments:
- name changed to read_windows_registry() - read_windows_registry() does nothing on non-Windows platforms; same as read_mime_types(filename) when the file does not exist. - I hope the coding style is acceptable now - the test is skipped on non-Windows platforms - documentation updated - documentation for MimeTypes.guess_all_extensions was missing; I added it although it isn't directly related to this issue. ---------- Added file: http://bugs.python.org/file15338/mimetypes.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4969> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com