Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-93096: Makemimetypes
CLI tool public#93097
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This reverts commit26bec36.
maxnikulin commentedFeb 7, 2024
Notice thatIANA currently uses the "media types" term:
Just an idea, feel free to ignore it: sometimes the following approach may be used to estimate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
@arhadthedev Thank you for your work!
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
328f8b8
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Not sure if it's my configuration or not, but
|
Right, from the commits looks like it took a while for@arhadthedev to find a good candidate. Let's update it. @picnixz Can you find another that's not in your |
picnixz commentedMar 15, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I'm no more on my Linux session, but I'll do it tomorrow. Can't we mock the array containing the files where everything is looked up? |
Yes, that sounds better than having to worry what different systems happen to have. |
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Uh oh!
There was an error while loading.Please reload this page.
python -m mimetypes
(likehttps://docs.python.org/3/library/ast.html#command-line-usage andhttps://docs.python.org/3/library/trace.html#command-line-usage do) since it's a solid crossplatform utilitysys.exit()
for error messagespython -m mimetypes
with proper checks of stdout, stderr and return codesgh-93096