Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
hugovk merged 68 commits intopython:mainfromarhadthedev:normalize-mimetypes-cli
Mar 13, 2025

Conversation

arhadthedev
Copy link
Member

@arhadthedevarhadthedev commentedMay 23, 2022
edited
Loading

gh-93096

@arhadthedevarhadthedev marked this pull request as draftMay 23, 2022 10:43
@arhadthedevarhadthedev marked this pull request as ready for reviewMay 23, 2022 15:45
@arhadthedevarhadthedev marked this pull request as draftMay 23, 2022 17:14
@AA-TurnerAA-Turner added type-featureA feature request or enhancement stdlibPython modules in the Lib dir topic-email labelsMay 23, 2022
@arhadthedevarhadthedev deleted the normalize-mimetypes-cli branchMay 26, 2022 05:12
@arhadthedevarhadthedev restored the normalize-mimetypes-cli branchMay 26, 2022 05:13
@maxnikulin
Copy link

Notice thatIANA currently uses the "media types" term:

[RFC2046] specifies that Media Types (formerly known as MIME types) and Media
Subtypes will be assigned and listed by the IANA.

Just an idea, feel free to ignore it: sometimes the following approach may be used to estimate--help message. Try to read man page generated byhelp2man. Perhapsepilog may be added toArgumentParser constructor, however I am unsure concerning recommendations within the Python project.

@hugovkhugovk marked this pull request as ready for reviewMarch 8, 2025 21:06
Copy link
Member

@hugovkhugovk left a 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!

@hugovkhugovk merged commit328f8b8 intopython:mainMar 13, 2025
39 checks passed
@picnixz
Copy link
Member

Not sure if it's my configuration or not, buttest_guess_type_conflicting_with_mimetypes fails on my openSUSE 15.5. I think the reason is that my/etc/mime.types contains:

image/x-pict                                     pict pict1 pict2 pic pct

@hugovk
Copy link
Member

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/etc/mime.types?

@picnixz
Copy link
Member

picnixz commentedMar 15, 2025
edited
Loading

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?

@hugovk
Copy link
Member

Yes, that sounds better than having to worry what different systems happen to have.

plashchynski pushed a commit to plashchynski/cpython that referenced this pull requestMar 17, 2025
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
seehwan pushed a commit to seehwan/cpython that referenced this pull requestApr 16, 2025
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@merwokmerwokmerwok left review comments

@hugovkhugovkhugovk approved these changes

@sobolevnsobolevnsobolevn left review comments

@carlbordumcarlbordumcarlbordum left review comments

@AA-TurnerAA-TurnerAA-Turner approved these changes

Assignees
No one assigned
Labels
stdlibPython modules in the Lib dirtopic-emailtype-featureA feature request or enhancement
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

9 participants
@arhadthedev@AA-Turner@sobolevn@maxnikulin@picnixz@hugovk@merwok@carlbordum@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp