
report at bugs
Nov 3, 2009, 5:26 PM
Post #2 of 7
(225 views)
Permalink
|
|
[issue4969] mimetypes on Windows should read MIME database from registry (w/patch)
[In reply to]
|
|
Antoine Pitrou <pitrou [at] free> added the comment: A couple of points: - if the method is Windows-specific, I don't think it shouldn't bear a name as generic as "read_registry()". There are "registries" on other systems. - the method should probably raise early on non-Windows systems (raise NotImplementedError?) - please fix the coding style; don't collapse a "try", "except" or "finally" and the following statement on a single line - in the tests, rather than defining an empty test case on non-Windows systems, make the tests skip (for example, call self.skipTest() ---------- nosy: +pitrou priority: -> normal stage: -> patch review type: -> feature request versions: +Python 3.2 -Python 3.1 _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue4969> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|