New submission from Alain Poirier alain.poir...@net-ng.com:
In Python 2.6.2, the fix for the issue 5401 changed the way the
mimetypes module is initialized.
But now the initialization is not thread-safe : a thread can set
``inited`` to ``True`` and then be preempted before to overwrite the
Antoine Pitrou pit...@free.fr added the comment:
Already fixed in r72048.
If you try the fix and find out it has some problems, please reopen the bug.
--
nosy: +pitrou
resolution: - duplicate
status: open - closed
superseder: - mimetypes.guess_type() hits recursion limit