[issue6763] Crash on mac os x leopard in mimetypes.guess_type (or PyObject_Malloc)

Leonardo Santagada report at bugs.python.org
Sun Aug 23 04:49:24 CEST 2009


Leonardo Santagada <santagada at gmail.com> added the comment:

Well, the mimetypes module from 2.6 maintenance branch make this problem
not show up with mimetypes.guess_type, but I still think this is a bug
because pure python code should not crash the interpreter right?

I'm attaching the file I mentioned, I hope this counts as a test (it
needs the mimetypes module from python 2.6.2). I can probably extract
just the needed functions from the old mimetypes module if requested.

----------
Added file: http://bugs.python.org/file14774/threadboom.py

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


More information about the Python-bugs-list mailing list