Mailing List Archive

[issue40841] Provide mimetypes.sniff API as stdlib
Dong-hee Na <donghee.na92@gmail.com> added the comment:

I close this issue as rejected!

During the sprint, I could hear a lot of opinions from core devs including Guido, Tal, and Christian.

The overall conclusion for me is not to add this time.
if the mimetypes module is extracted from stdlib to pypi package, we can discuss to add this feature at that time!

Thank you everyone for the discussion!

----------
nosy: +christian.heimes, taleinat
resolution: -> rejected
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue40841>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue40841] Provide mimetypes.sniff API as stdlib [ In reply to ]
Guido van Rossum <guido@python.org> added the comment:

Dong-hee, I recommend that you turn this into a 3rd party package on PyPI
yourself. That way your effort and code will live on!

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue40841>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue40841] Provide mimetypes.sniff API as stdlib [ In reply to ]
Tal Einat <taleinat+python@gmail.com> added the comment:

> Dong-hee, I recommend that you turn this into a 3rd party package on PyPI yourself.

+1

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue40841>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue40841] Provide mimetypes.sniff API as stdlib [ In reply to ]
Dong-hee Na <donghee.na@python.org> added the comment:

@gvanrossum, @taleinat

I've already provided the mimesniffing through PyPI ;)
https://pypi.org/project/mimesniff/

The interface is similar to imghdr.what :)

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue40841>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com