You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "yaml" filename extension is the preferred one; it is the most popular and widely used on the web. The "yml" filename extension is still used. The simultaneous usage of two filename extensions in the same context might cause interoperability issues (e.g., when both a "config.yaml" and a "config.yml" are present).
Just a little tip: If you use the "Feature or Enhancement Proposal" template it will prepopulate the headings and the "Has this been discussed previously" options.
1. Summary
It would be nice if Python will associate popular configuration extensions
.yaml
and.yml
with theapplication/yaml
media type.2. Behavior
2.1. Current
2.2. Desired
3. Specifications
Comments in the
mimetypes
Python module:cpython/Lib/mimetypes.py
Lines 447 to 449 in ef17252
RFC 9512 Abstract:
RFC 9512 “Filename Extension” section:
IANA specification for
application/yaml
.4. Has this already been discussed elsewhere?
Issue authors in this issue tracker write:
Thanks.
Linked PRs
application/yaml
tomimetypes
#132056The text was updated successfully, but these errors were encountered: