[issue5853] mimetypes.guess_type() hits recursion limit

djc report at bugs.python.org
Mon Apr 27 11:05:49 CEST 2009


djc <dirkjan at ochtman.nl> added the comment:

georg.brandl remarked it might be due to demandimport. That doesn't seem
to be the case:

>>> from mercurial import demandimport
>>> demandimport.enable()
>>> import mimetypes
>>>
mimetypes.guess_type('/home/djc/src/hg/crew/templates/static/hglogo.png')
('image/png', None)

----------

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


More information about the Python-bugs-list mailing list