[issue24527] The MimeTypes class cannot ignore global files per instance

2022-01-20 Thread Irit Katriel
Change by Irit Katriel : -- type: behavior -> enhancement versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list

[issue24527] The MimeTypes class cannot ignore global files per instance

2015-06-29 Thread Sebastian Noack
New submission from Sebastian Noack: In order to prevent the mimetypes module from considering global files and registry entries, you have to call mimetypes.init([]). However, this will enforce that behavior globally, and only works if the module wasn't initialized yet. There is also a

[issue24527] The MimeTypes class cannot ignore global files per instance

2015-06-29 Thread Wladimir Palant
Changes by Wladimir Palant t...@adblockplus.org: -- nosy: +Wladimir Palant ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24527 ___ ___