Possible bug with stability of mimetypes.guess_* function output
Mark Lawrence
breamoreboy at yahoo.co.uk
Fri Feb 7 14:28:01 EST 2014
On 07/02/2014 19:17, Asaf Las wrote:
> btw, had seen this after own post -
> example usage includes mimetypes.init()
> before call to module functions.
>
From http://docs.python.org/3/library/mimetypes.html#module-mimetypes
third paragraph "The functions described below provide the primary
interface for this module. If the module has not been initialized, they
will call init() if they rely on the information init() sets up." Draw
your own conclusions :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
More information about the Python-list
mailing list