[issue4963] mimetypes.guess_extension result changes after mimetypes.init()
Martin Panter
report at bugs.python.org
Mon May 8 19:47:04 EDT 2017
Martin Panter added the comment:
I suggest to discuss the non-determinism problem in Issue 1043134 (about determining a canonical extension for each content type). I understood this bug (Issue 4963) is about the behaviour of repeated initialization of the same instance of mimetypes.
BTW an ordered dictionary wouldn’t help with duplicate dictionary keys; see guess_extension("application/excel").
----------
nosy: +martin.panter
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4963>
_______________________________________
More information about the Python-bugs-list
mailing list