New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backport SVG mime type to Python 2 #63576
Comments
A request to backport bpo-10730 commit to Python 2.x |
That's against our policy. We don't add new features to stable releases. Users of the Google Client API can easily work around the issue and register their own mimetypes. |
I am not sure that policy defines anything related to datasets bundled with Python. Even when try to adopt policy reading to this case, it doesn't look like a feature, but a bug fix. SVG is a registered MIME type http://www.w3.org/TR/SVG/mimereg.html, SVG is the most popular (the only one?) open source format for vector graphics, which should be present in Python database, but it isn't. I don't know what do you mean by "work around". Users don't know that the source of the bug is missing information from mimetypes package. |
It should be obvious that new mimetype == new feature. It doesn't matter if the type is popular or not. |
Christian: I think adding MIME types falls under platform support and we do still add platform support to Python 2.7. That said, the mimetypes module *does* use platform files for determining MIME types, so adding missing MIME types there will likely result in a more usable overall system :-) In other words: the problem is not really in Python's module, which only provides a bare minimum of MIME types, but in the system setup of your system, Anatoly. |
I think we are talking about double standards. Why the .xz and .txz are worthy including in 2.7.5 and .svg is not? See issue bpo-16316. http://bugs.python.org/issue15207 will break a lot of this stuff anyway, so I hope it will fix the issue. |
Added bpo-19454 to settle this down. |
New changeset 43a6e7104b78 by Berker Peksag in branch '2.7': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: