[issue31715] Add mimetype for extension .mjs

2018-12-24 Thread Ned Deily
Ned Deily added the comment: New changeset 25ee15a15c2d274afeea2dc5a0a0b4fb4bea904b by Ned Deily (Myles Borins) in branch '3.7': [3.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10977) https://github.com/python/cpython/commit/25ee15a15c2d274afeea2dc5a0a0b4fb4bea904b --

[issue31715] Add mimetype for extension .mjs

2018-12-20 Thread Ned Deily
Change by Ned Deily : -- versions: +Python 2.7, Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31715] Add mimetype for extension .mjs

2018-12-20 Thread Ned Deily
Ned Deily added the comment: New changeset d9a2aca839b1326e011ecca17ba7b45123c47a64 by Ned Deily (Myles Borins) in branch '2.7': [2.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10978) https://github.com/python/cpython/commit/d9a2aca839b1326e011ecca17ba7b45123c47a64 --

[issue31715] Add mimetype for extension .mjs

2018-12-20 Thread Ned Deily
Ned Deily added the comment: New changeset 70db385944ecf2ceed10ed7d91fce68399f9ca8a by Ned Deily (Myles Borins) in branch '3.6': [3.6] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10976) https://github.com/python/cpython/commit/70db385944ecf2ceed10ed7d91fce68399f9ca8a --

[issue31715] Add mimetype for extension .mjs

2018-12-20 Thread Ned Deily
Ned Deily added the comment: New changeset c7b7a43cd8964a90669bb37735cdafc5b0ec60cc by Ned Deily (Myles Borins) in branch '3.7': [3.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10977) https://github.com/python/cpython/commit/c7b7a43cd8964a90669bb37735cdafc5b0ec60cc --

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Myles Borins added the comment: Thanks for chiming in R. David Murray > Think of the absence of the mimetype rule as a bug, rather than its presence > as a feature. Very much appreciate this sentiment. I've opened backports to simplify the process if y'all decide to approve. 2.7:

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Change by Myles Borins : -- pull_requests: +10219 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Change by Myles Borins : -- pull_requests: +10218 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Change by Myles Borins : -- pull_requests: +10217 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread R. David Murray
R. David Murray added the comment: We have generally made an exception to the "new feature" rule for mimetypes. That is, we don't really consider a mimetype addition to be a new feature in the sense that our backward compatibility rules mean. It is true that an application could work on

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Dustin Ingram
Change by Dustin Ingram : -- nosy: +di ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Myles Borins added the comment: Also wanted to point out some prior art of a mimetype (json) being backported to all active runtimes https://bugs.python.org/issue30824#msg297527 -- ___ Python tracker

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Myles Borins added the comment: Thanks for cc'ing the other folks. I help run the Node.js release + LTS team... so I 100% understand the balance necessary to keep a stable API. In this particular case I would gauge that this has a near 0 case for breakage, but leaving it unpatched has a

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Christian Heimes is right: it is a new feature, not a bug fix. I regret too often when I cannot backport a brilliant patch to old Python version but this is the price of API stability. You can try to convince release managers (Benjamin and Ned, I've added

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Myles Borins added the comment: There are a number of tutorials that suggest using the .mjs extension for working with ESM modules for front end development. https://developers.google.com/web/fundamentals/primers/modules

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Christian Heimes
Christian Heimes added the comment: It's technically a new feature. New features are not added to existing releases unless there is a very compelling reason. -- nosy: +christian.heimes ___ Python tracker

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Myles Borins added the comment: I see that when this landed it appears that it was removed from landing on "Python 2.7, Python 3.6, Python 3.7". Is there any chance to revisit this decision? I dug into the mimetype code and it doesn't appear that there is a way to rely on operating system

[issue31715] Add mimetype for extension .mjs

2018-10-08 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.6, Python 3.7 ___ Python tracker

[issue31715] Add mimetype for extension .mjs

2018-10-08 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 0854b92cd25613269d21de3cb5239379ddc0f2fb by Andrew Svetlov (Bradley Meck) in branch 'master': bpo-31715 Add mimetype for extension .mjs (#3908) https://github.com/python/cpython/commit/0854b92cd25613269d21de3cb5239379ddc0f2fb -- nosy:

[issue31715] Add mimetype for extension .mjs

2018-08-20 Thread Mariatta Wijaya
Change by Mariatta Wijaya : -- nosy: +barry, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31715] Add mimetype for extension .mjs

2017-10-06 Thread Bradley Meck
Change by Bradley Meck : -- keywords: +patch pull_requests: +3879 stage: -> patch review ___ Python tracker ___

[issue31715] Add mimetype for extension .mjs

2017-10-06 Thread Bradley Meck
New submission from Bradley Meck : I propose to add a mapping of file extension .mjs to mime type "text/javascript". The "text/javascript" MIME is registered in https://www.iana.org/assignments/media-types, was moved to *should* as the MIME in HTML (