[issue16329] mimetypes does not support webm type

2016-04-08 Thread Berker Peksag

Berker Peksag added the comment:

Thanks!

--
nosy: +berker.peksag
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 2.7, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2016-04-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6ed3cb699be6 by Berker Peksag in branch '2.7':
Issue #16329: Add .webm to mimetypes.types_map
https://hg.python.org/cpython/rev/6ed3cb699be6

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2016-04-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0327a5a11108 by Berker Peksag in branch '3.5':
Issue #16329: Add .webm to mimetypes.types_map
https://hg.python.org/cpython/rev/0327a5a11108

New changeset f92e6785b9f0 by Berker Peksag in branch 'default':
Issue #16329: Add .webm to mimetypes.types_map
https://hg.python.org/cpython/rev/f92e6785b9f0

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2014-12-03 Thread Jim Jewett

Jim Jewett added the comment:

I interpreted Issue 15's closure as being about the distinction between 
Application/webm vs Video/webm, etc.

As far as I understand it, the python stdlib doesn't actually care what the 
major Mime type is, or, frankly, even whether the definition makes sense.  We 
just want Video/webm to be registered.

I have created issue 886 on the webm site at
https://code.google.com/p/webm/issues/detail?id=886can=4colspec=ID%20Pri%20mstone%20ReleaseBlock%20Type%20Component%20Status%20Owner%20Summary

Anyone with more detail (e.g., do we need to define Application/webm as well as 
Video/webm ... do we care what the definition is ... etc ...) is encouraged to 
chime in.

--
nosy: +Jim.Jewett

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2014-12-03 Thread Chris Rebert

Chris Rebert added the comment:

WebM's docs use video/webm and never use an application/* type.
See http://www.webmproject.org/docs/container/

They also specify audio/webm for audio-only content, but both use the same 
file extension, so associating .webm with video/webm seems quite reasonable 
since it's more general (an audio-only file is just a degenerate case of an 
audiovideo file).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2014-12-03 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Antoine Pitrou and Ethan Furman agreed on pydev that this should be applied.  
Chris, is the existing patch exactly what you think is needed?

--
nosy: +terry.reedy
stage:  - commit review
type:  - enhancement
versions: +Python 3.5 -Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2014-12-03 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Does test_mimetypes (assuming it exists), have a test for the mapping, are is 
something needed?

--
stage: commit review - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2014-12-03 Thread Chris Rebert

Chris Rebert added the comment:

Yes, the existing patch looks fine.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2014-12-03 Thread Ezio Melotti

Ezio Melotti added the comment:

A while ago there was a discussion about updating the MIME registry on bug fix 
releases too, and I seem to remember people agreed it should be done.  If this 
is indeed the case and the patch is accepted for 3.5, should it also be 
backported to 2.7 and 3.4?

--
nosy: +ezio.melotti

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2014-03-18 Thread Chris Rebert

Chris Rebert added the comment:

So, nobody seems to have cared enough about the policy change to weigh in 
during the intervening year and ~3mos...

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2012-10-28 Thread Chris Rebert

Chris Rebert added the comment:

AFAICT, there is currently no entry for WebM in IANA's registry 
(http://www.iana.org/assignments/media-types/index.html ).
A bug in WebM's tracker regarding its MIME type(s) was closed over a year ago 
as WONTFIX (http://code.google.com/p/webm/issues/detail?id=15 ).

Giampaolo has already pointed out the relevant part of the WebM spec. WebM 
itself has no RFCs (there are 2 relating to VP8, its video codec, but they 
don't have anything that's relevant here).


To independently corroborate the existence of the MIME type, we have the 
following:

Mozilla, Microsoft, and Opera all acknowledge the MIME type in question:
https://developer.mozilla.org/en-US/docs/Media_formats_supported_by_the_audio_and_video_elements
http://msdn.microsoft.com/en-us/library/ff975073%28v=VS.85%29.aspx
http://dev.opera.com/articles/view/opera-supports-webm-video/

The de-facto *nix MIME type database/package maintained by freedesktop.org 
includes it:
http://cgit.freedesktop.org/xdg/shared-mime-info/tree/NEWS?id=391ae76f6a2f3af93406ac31bc8735695f41d07d#n92

--
nosy: +cvrebert

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2012-10-28 Thread R. David Murray

R. David Murray added the comment:

Interesting.  So we have two choices: leave it to the platform mime types file 
to define because it is not even on track to be an official IANA standard, or 
include it with a comment that it is a de-facto standard.

The question, I guess, is how fluid the definition is likely to be.  It doesn't 
seem like the filetype mapping for the existing definitions is going to change, 
and since we don't (currently) have content-detection of any sort, the impact 
of a change in the definitions to users of our code seems minimal.  So I guess 
I'd be OK with adding it as a de-facto standard, though I'm not entirely 
comfortable with it.  But that would represent a change in policy, so others 
may want to weigh in.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2012-10-26 Thread Giampaolo Rodola'

New submission from Giampaolo Rodola':

http://www.webmproject.org/docs/container/#naming

--
components: Library (Lib)
files: webm.diff
keywords: patch
messages: 173843
nosy: giampaolo.rodola
priority: normal
severity: normal
status: open
title: mimetypes does not support webm type
versions: Python 3.4
Added file: http://bugs.python.org/file27728/webm.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2012-10-26 Thread Giampaolo Rodola'

Giampaolo Rodola' added the comment:

(patch in attachment)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2012-10-26 Thread Jesús Cea Avión

Jesús Cea Avión added the comment:

How do we know if the webm file is video+audio or audio only?. Mimetypes are 
different. :-?

--
nosy: +jcea

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2012-10-26 Thread Giampaolo Rodola'

Giampaolo Rodola' added the comment:

I'd say we can't but I suppose the same problem might exist for other mime 
types as well.
Given that we can't inspect file content the only choice we have is either 
decide to not support a certain mime type or assume the most common scenario, 
which in case of webm is video.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16329] mimetypes does not support webm type

2012-10-26 Thread R. David Murray

R. David Murray added the comment:

I suppose this is a flaw in the mimetype API.  At some point perhaps we should 
fix it, but in the meantimedoes anyone have a pointer to an actual IANA 
submission for this mime type?  I think we can probably no longer wait for 
official IANA approval, but it would be nice to have some sort of documentation 
that a given type is more than just in de-facto existence.

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16329
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com