[issue5853] mimetypes.guess_type() hits recursion limit

Antoine Pitrou report at bugs.python.org
Mon Apr 27 16:01:32 CEST 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

The function monkeypatching hack should be replaced with something more
robust.
(what might happen here is that init() is first called from another
thread, sets `inited` to True and then crashes for whatever reason, so
guess_type() isn't actually monkeypatched)

----------
nosy: +pitrou
priority:  -> normal
stage:  -> needs patch
type:  -> behavior
versions: +Python 2.7, Python 3.0, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5853>
_______________________________________


More information about the Python-bugs-list mailing list